mirror of
https://github.com/YunoHost-Apps/hydrogen_ynh.git
synced 2024-09-03 19:26:17 +02:00
Update nginx.conf
This commit is contained in:
parent
6a399bb6b0
commit
a565dd1a04
1 changed files with 5 additions and 3 deletions
|
@ -3,8 +3,10 @@ location __PATH__/ {
|
||||||
|
|
||||||
alias __FINALPATH__/;
|
alias __FINALPATH__/;
|
||||||
|
|
||||||
index index.html;
|
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 'none'";
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
index index.html;
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue