matrix.grapheneos.org/nginx/snippets/security-headers.conf

9 lines
361 B
Plaintext
Raw Normal View History

2021-05-24 13:52:50 -04:00
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
add_header X-Content-Type-Options "nosniff" always;
2021-06-18 04:38:02 -04:00
# obsolete when client system time is correct
2021-05-24 13:52:50 -04:00
add_header Expect-CT "enforce, max-age=63072000" always;
2021-06-18 04:38:26 -04:00
# obsolete and replaced with strong Content-Security-Policy
add_header X-XSS-Protection "1; mode=block" always;