diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-12-10 04:29:44 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-12-10 04:30:34 -0500 |
| commit | ebbf002a731ff536f040c77a8b03e932679b557c (patch) | |
| tree | fc4c73dd4b4def1a7c8488258723c614a801de16 | |
| parent | 99c72543ab00093e8f7f4ea6fe7d28e768446809 (diff) | |
disable legacy X-XSS-Protection feature
| -rw-r--r-- | nginx/snippets/security-headers-base.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nginx/snippets/security-headers-base.conf b/nginx/snippets/security-headers-base.conf index 40104334..a7669ca4 100644 --- a/nginx/snippets/security-headers-base.conf +++ b/nginx/snippets/security-headers-base.conf @@ -10,5 +10,5 @@ add_header Expect-CT "enforce, max-age=63072000" always; # obsolete and replaced with Content-Security-Policy frame-ancestors 'none' add_header X-Frame-Options "DENY" always; -# obsolete and replaced with strong Content-Security-Policy -add_header X-XSS-Protection "1; mode=block" always; +# obsolete, unsafe and replaced with strong Content-Security-Policy +add_header X-XSS-Protection "0" always; |
