no need for case insensitive API path matching

This commit is contained in:
Daniel Micay 2021-06-18 05:15:54 -04:00
parent 391d7ef680
commit 60dd91024d

View File

@ -109,7 +109,7 @@ http {
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 X-Frame-Options;
include snippets/security-headers.conf;