mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 02:10:27 +08:00
nixos/nextcloud: remove X-XSS-Protection
see https://github.com/nextcloud/server/pull/53476
(cherry picked from commit 06c99c29c9)
This commit is contained in:
committed by
Michael Daniels
parent
33a3182b99
commit
b7338ccd18
@@ -1531,7 +1531,6 @@ in
|
||||
index index.php index.html /index.php$request_uri;
|
||||
${optionalString (cfg.nginx.recommendedHttpHeaders) ''
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header X-Robots-Tag "noindex, nofollow";
|
||||
add_header X-Permitted-Cross-Domain-Policies none;
|
||||
add_header X-Frame-Options sameorigin;
|
||||
|
||||
Reference in New Issue
Block a user