From 60dd91024da7ecfcc1cbe41ec63856194d5278b1 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 18 Jun 2021 05:15:54 -0400 Subject: [PATCH] no need for case insensitive API path matching --- nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 614cf04..2d072f5 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -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;