ansible-config/roles/nginx/files/snippets/header-security.conf
Alexander Dietrich bbb7c76eef Update nginx role
2020-03-23 20:43:06 +01:00

9 lines
343 B
Plaintext

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;
proxy_hide_header Referrer-Policy;
proxy_hide_header X-Content-Type-Options;
proxy_hide_header X-Frame-Options;
proxy_hide_header X-XSS-Protection;