From c310e772b40ec3052965f8ed330af8a2a581eaa7 Mon Sep 17 00:00:00 2001 From: Raine Date: Fri, 3 Nov 2023 01:09:37 +0100 Subject: [PATCH] fix: headers ixvd site --- .../keymaker/docker-compose.d/custom/nginx/conf.d/ixvd-web.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/keymaker/docker-compose.d/custom/nginx/conf.d/ixvd-web.conf b/servers/keymaker/docker-compose.d/custom/nginx/conf.d/ixvd-web.conf index e5b1be4..71b2da3 100644 --- a/servers/keymaker/docker-compose.d/custom/nginx/conf.d/ixvd-web.conf +++ b/servers/keymaker/docker-compose.d/custom/nginx/conf.d/ixvd-web.conf @@ -8,10 +8,12 @@ server { # matrix location /.well-known/matrix/server { + add_header Content-Type application/json; return 200 '{ "m.server": "matrix.ixvd.net:443" }'; } location /.well-known/matrix/client { + add_header Content-Type application/json; add_header Access-Control-Allow-Origin '*'; return 200 '{ "m.homeserver": { "base_url": "https://matrix.ixvd.net" } }'; }