mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-10-01 04:45:34 -04:00
pass through synapse CSP alongside static one
This commit is contained in:
parent
86772f7fea
commit
6d1669c3c2
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user