From c85ffc0aa5f7a76a35c603c23afe46c2fe62d907 Mon Sep 17 00:00:00 2001 From: Thatoo Date: Wed, 30 Aug 2023 00:20:58 +0200 Subject: [PATCH] Update server_name.conf --- conf/server_name.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/conf/server_name.conf b/conf/server_name.conf index 81c3548..ad38d12 100644 --- a/conf/server_name.conf +++ b/conf/server_name.conf @@ -3,3 +3,12 @@ location /.well-known/matrix/server { add_header Content-Type application/json; add_header Access-Control-Allow-Origin '*'; } +location /.well-known/matrix/client { + return 200 '{ + "m.homeserver": { "base_url": "https://__DOMAIN__" }, + "im.vector.riot.jitsi": {"preferredDomain": "jitsi.riot.im"}, + "im.vector.riot.e2ee": {"default": true } + }'; + add_header Content-Type application/json; + add_header Access-Control-Allow-Origin '*'; +}