matrix_nginx_proxy_xss_protection

This commit is contained in:
sakkiii
2021-05-24 17:02:47 +05:30
parent b191e461a5
commit df2d91970d
9 changed files with 33 additions and 7 deletions

View File

@ -8,7 +8,7 @@
{% else %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
{% endif %}
add_header X-XSS-Protection "1; mode=block";
add_header X-XSS-Protection "{{ matrix_nginx_proxy_xss_protection }}";
add_header X-Content-Type-Options nosniff;
{% if matrix_nginx_proxy_floc_optout_enabled %}
add_header Permissions-Policy interest-cohort=() always;