From 31e2a1f06bf5620e2986b875191b3acd4e8c4c36 Mon Sep 17 00:00:00 2001 From: Justin Croonenberghs Date: Sun, 9 Aug 2020 14:20:37 -0500 Subject: [PATCH] Undo ill-advised change In #628 I proposed a CORS change that turns out not to be the root of the issue. Caffeine-addled diagnosis leads to sloppy thinking, and this change should be reverted. In fact, if left it will cause problems for new installations. --- .../templates/nginx/conf.d/matrix-synapse.conf.j2 | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2 b/roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2 index 8729bdc6b..8fd879586 100644 --- a/roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2 +++ b/roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2 @@ -64,7 +64,6 @@ proxy_set_header Host $host; proxy_set_header X-Forwarded-For $remote_addr; - add_header Access-Control-Allow-Origin *; } {% endif %}