diff --git a/CMS/nextcloud/Nginx-unconfigured b/CMS/nextcloud/Nginx-unconfigured index d12b972..273d74d 100644 --- a/CMS/nextcloud/Nginx-unconfigured +++ b/CMS/nextcloud/Nginx-unconfigured @@ -8,12 +8,9 @@ root /var/www/DOMAINname/html; client_max_body_size 1G; add_header Referrer-Policy "no-referrer" always; -add_header X-Content-Type-Options "nosniff" always; add_header X-Download-Options "noopen" always; -add_header X-Frame-Options "SAMEORIGIN" always; add_header X-Permitted-Cross-Domain-Policies "none" always; add_header X-Robots-Tag "none" always; -add_header X-XSS-Protection "1; mode=block" always; fastcgi_send_timeout 300; fastcgi_read_timeout 300; fastcgi_hide_header X-Powered-By; @@ -73,12 +70,9 @@ location ~ \.(?:css|js|woff2?|svg|gif|map)$ { try_files $uri /index.php$request_uri; add_header Cache-Control "public, max-age=15778463"; add_header Referrer-Policy "no-referrer" always; - add_header X-Content-Type-Options "nosniff" always; add_header X-Download-Options "noopen" always; - add_header X-Frame-Options "SAMEORIGIN" always; add_header X-Permitted-Cross-Domain-Policies "none" always; add_header X-Robots-Tag "none" always; - add_header X-XSS-Protection "1; mode=block" always; access_log off; }