|
|
|
@@ -10,10 +10,8 @@ |
|
|
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; |
|
|
|
{% endif %} |
|
|
|
add_header X-Content-Type-Options nosniff; |
|
|
|
add_header X-XSS-Protection "1; mode=block"; |
|
|
|
add_header X-XSS-Protection "{{ matrix_nginx_proxy_xss_protection }}"; |
|
|
|
add_header X-Frame-Options SAMEORIGIN; |
|
|
|
add_header Content-Security-Policy "frame-ancestors 'none'; require-trusted-types-for 'script'; base-uri 'self'"; |
|
|
|
add_header Referrer-Policy "strict-origin-when-cross-origin"; |
|
|
|
|
|
|
|
{% if matrix_nginx_proxy_floc_optout_enabled %} |
|
|
|
add_header Permissions-Policy interest-cohort=() always; |
|
|
|
|