ansible-config/roles/nginx/files/snippets/header-security.conf

9 lines
343 B
Plaintext
Raw Normal View History

2020-03-23 20:43:06 +01:00
add_header Referrer-Policy same-origin always;
add_header X-Content-Type-Options nosniff always;
add_header X-Frame-Options sameorigin always;
add_header X-XSS-Protection "1; mode=block" always;
2018-11-16 22:34:59 +01:00
proxy_hide_header Referrer-Policy;
proxy_hide_header X-Content-Type-Options;
proxy_hide_header X-Frame-Options;
proxy_hide_header X-XSS-Protection;