1
0
Fork 0
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:
Éric Gaspar 2022-11-21 19:44:06 +01:00
parent 7da6478f71
commit 62761c62fe

View file

@ -3,10 +3,10 @@ location __PATH__/ {
alias __FINALPATH__/; alias __FINALPATH__/;
more_set_headers "X-Frame-Options: SAMEORIGIN"; #more_set_headers "X-Frame-Options: SAMEORIGIN";
more_set_headers "X-Content-Type-Options: nosniff"; #more_set_headers "X-Content-Type-Options: nosniff";
more_set_headers "X-XSS-Protection: 1; mode=block"; #more_set_headers "X-XSS-Protection: 1; mode=block";
more_set_headers "Content-Security-Policy: frame-ancestors 'none'"; #more_set_headers "Content-Security-Policy: frame-ancestors 'none'";
index index.html; index index.html;
} }