mirror of
https://github.com/YunoHost-Apps/element_ynh.git
synced 2024-09-03 18:36:08 +02:00
Update nginx.conf
This commit is contained in:
parent
b00f532aef
commit
6529ffee68
1 changed files with 4 additions and 6 deletions
|
@ -5,13 +5,11 @@ location __PATH__/ {
|
|||
|
||||
index index.html;
|
||||
|
||||
more_set_headers "Referrer-Policy: 'strict-origin' always";
|
||||
more_set_headers "X-Content-Type-Options: 'nosniff' always";
|
||||
more_set_headers "X-Frame-Options: 'SAMEORIGIN' always";
|
||||
more_set_headers "X-Frame-Options: SAMEORIGIN";
|
||||
more_set_headers "X-Content-Type-Options: nosniff";
|
||||
more_set_headers "X-XSS-Protection: '1; mode=block'";
|
||||
more_set_headers "Content-Security-Policy: frame-ancestors 'self'";
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue