Skip to content

Commit

Permalink
Merge pull request #1127 from sakkiii/patch-3
Browse files Browse the repository at this point in the history
Content-Security-Policy For Element Web
  • Loading branch information
spantaleev authored Jun 20, 2021
2 parents c48699f + 0217644 commit efa7486
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "{{ matrix_nginx_proxy_xss_protection }}";
add_header X-Frame-Options SAMEORIGIN;
add_header Content-Security-Policy "frame-ancestors 'none'";

{% if matrix_nginx_proxy_floc_optout_enabled %}
add_header Permissions-Policy interest-cohort=() always;
Expand Down

0 comments on commit efa7486

Please sign in to comment.