Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.
Commentaire: Published by Scroll Versions from space DA and version BM-3.5

...

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.

Bloc de code
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.