pass through synapse CSP alongside static one

This commit is contained in:
Daniel Micay 2021-06-29 06:04:18 -04:00
parent 86772f7fea
commit 6d1669c3c2

View File

@ -99,7 +99,6 @@ http {
} }
location ~ ^(/_matrix|/_synapse/client) { location ~ ^(/_matrix|/_synapse/client) {
proxy_hide_header Content-Security-Policy;
proxy_hide_header X-Frame-Options; proxy_hide_header X-Frame-Options;
include snippets/security-headers.conf; include snippets/security-headers.conf;
add_header Cross-Origin-Resource-Policy "cross-origin" always; add_header Cross-Origin-Resource-Policy "cross-origin" always;