nixos/grav: remove X-XSS-Protection

See <https://github.com/NixOS/nixpkgs/issues/438800>.

(cherry picked from commit 90c505624b)
This commit is contained in:
Robert Helgesson
2025-09-01 21:02:30 +02:00
parent 4b5e614d94
commit 908dbaf1e7

View File

@@ -231,7 +231,6 @@ in
extraConfig = '' extraConfig = ''
index index.php index.html /index.php$request_uri; index index.php index.html /index.php$request_uri;
add_header X-Content-Type-Options nosniff; add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Download-Options noopen; add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none; add_header X-Permitted-Cross-Domain-Policies none;
add_header X-Frame-Options sameorigin; add_header X-Frame-Options sameorigin;