disable legacy X-XSS-Protection

Obsolete, unsafe, and superseded by CSP
This commit is contained in:
Wonderfall 2022-02-04 20:56:04 +01:00 committed by hoellen
parent feae76b13a
commit 7611471834

View File

@ -22,7 +22,7 @@ server {
add_header X-Frame-Options "SAMEORIGIN" always; add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always; add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "none" always; add_header X-Robots-Tag "none" always;
add_header X-XSS-Protection "1; mode=block" always; add_header X-XSS-Protection "0" always;
location = /robots.txt { location = /robots.txt {
allow all; allow all;