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

10 lines
470 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-29 06:07:54 -04:00
add_header Referrer-Policy "no-referrer" always;
2021-06-18 05:23:42 -04:00
add_header Cross-Origin-Opener-Policy "same-origin" always;
2021-06-18 20:20:50 -04:00
add_header Cross-Origin-Embedder-Policy "require-corp" always;
2022-07-30 20:13:28 -04:00
add_header Origin-Agent-Cluster "?1" always;
2021-06-18 04:38:02 -04:00
# obsolete, unsafe and replaced with strong Content-Security-Policy
add_header X-XSS-Protection "0" always;