From bd3b28ee6324b683f1f7c215ade3a464c116292e Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 13 Feb 2024 20:56:04 +0100 Subject: [PATCH] Give higher .well-known priority vs nextcloud --- conf/server_name.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/server_name.conf b/conf/server_name.conf index 4cb77dee..578cfa7e 100644 --- a/conf/server_name.conf +++ b/conf/server_name.conf @@ -1,10 +1,10 @@ -location /.well-known/matrix/server { +location = /.well-known/matrix/server { return 200 '{"m.server": "__DOMAIN__:__SYNAPSE_TLS_PORT__"}'; add_header Content-Type application/json; add_header Access-Control-Allow-Origin '*'; } -location /.well-known/matrix/client { +location = /.well-known/matrix/client { return 200 '{ "m.homeserver": { "base_url": "https://__DOMAIN__" }, "im.vector.riot.jitsi": {"preferredDomain": "__JITSI_SERVER__"},