Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DA and version BM-3.5
Sv translation
languagefr

Les fichiers d'hôte virtuel Nginx (comme par exemple /etc/nginx/sites-enabled/bm-client-access) sont gérés par BlueMind et ne doivent en aucun cas être modifiés.

Ces fichiers sont remplacés durant les opérations de mise à jour du système, perdant ainsi toute modification locale.

Cependant, il est possible d'ajouter des fichiers de configuration dans /etc/nginx/bm-local.d/ pour ajouter des configurations personnalisées.

Sv translation
languageen

 

Introduction

Nginx virtual host files (such as  "/etc/nginx/sites-enabled/bm-client-access") are managed by BlueMind and must absolutely not be modified.

These files are replaced during system updates, as a result, all local modifications are lost.

You can, however, add configuration files into "/etc/nginx/sites-enabled/" to customize configuration.

X-Frame-Option configuration

By default, BlueMind can be included into a frame.

This behavior can be changed by adding the X-Frame-Options HTTP header to Nginx responses.

Code Block
languagebash
~$ sudo sh -c 'echo "add_header X-Frame-Options DENY;" >> /etc/nginx/sites-enabled/configuration.local'
~$ sudo /etc/init.d/nginx restart

For more information on the X-Frame-Options response header, please refer to the Mozilla documentation.