1
0
Fork 0
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:
Éric Gaspar 2023-03-31 19:27:24 +02:00
parent 292f25d5c7
commit 45530ecc52

View file

@ -6,7 +6,8 @@ location __PATH__/ {
index index.html;
more_set_headers "X-Frame-Options: SAMEORIGIN";
more_set_headers "X-Content-Type-Options: nosniff";
more_clear_headers "X-Content-Type-Options";
#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'";