mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 10:22:54 +08:00
nixos/canaille: remove HTTP header X-XSS-Protection
Addresses https://github.com/NixOS/nixpkgs/issues/438800
(cherry picked from commit 301e5cca9c)
This commit is contained in:
committed by
github-actions[bot]
parent
3d0cc0fb4e
commit
d6326ce0bf
@@ -349,7 +349,6 @@ in
|
||||
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header Referrer-Policy "same-origin" always;
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user