From 87b5f0a4d4a96c0561dc3860f81b20c28997827e Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 29 Dec 2018 20:11:37 +0200 Subject: [PATCH] Server non-scary page at matrix domain (take 2) Fix for 12b65d8ccc11217644. --- .../matrix-server/templates/nginx-conf.d/matrix-synapse.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-server/templates/nginx-conf.d/matrix-synapse.conf.j2 b/roles/matrix-server/templates/nginx-conf.d/matrix-synapse.conf.j2 index 4e6aeb20b..76673ef4f 100644 --- a/roles/matrix-server/templates/nginx-conf.d/matrix-synapse.conf.j2 +++ b/roles/matrix-server/templates/nginx-conf.d/matrix-synapse.conf.j2 @@ -107,6 +107,6 @@ server { } location / { - set $location "/_matrix/static/"; + rewrite ^/$ /_matrix/static/ last; } }