From 429633adea3edbaa8d016930c32aa23076bff2f6 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 6 Feb 2022 23:45:36 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index d192170..a4bbe4c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,11 +5,13 @@ location ~ ^/$ { } location /.well-known/matrix/server { + default_type application/json; return 200 '{ "m.server": "__DOMAIN__:443" }'; } location /.well-known/matrix/client { return 200 '{ "m.homeserver": { "base_url": "https://__DOMAIN__" } }'; + more_set_headers Access-Control-Allow-Origin: *"; } location /_matrix {