mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-10-01 04:45:34 -04:00
no need for case insensitive API path matching
This commit is contained in:
parent
391d7ef680
commit
60dd91024d
@ -109,7 +109,7 @@ http {
|
|||||||
return 301 https://grapheneos.org/articles/grapheneos-servers#matrix.grapheneos.org;
|
return 301 https://grapheneos.org/articles/grapheneos-servers#matrix.grapheneos.org;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~* ^(\/_matrix|\/_synapse\/client) {
|
location ~ ^(\/_matrix|\/_synapse\/client) {
|
||||||
proxy_hide_header Content-Security-Policy;
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user