From 926478a379911af4b13f16df9938fe42b228682e Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Sun, 5 Dec 2021 11:47:29 -0600 Subject: [PATCH] Configure Synapse .well-known client delegation --- exozyme.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/exozyme.conf b/exozyme.conf index 6a5d291..f7f1b17 100644 --- a/exozyme.conf +++ b/exozyme.conf @@ -28,6 +28,12 @@ server { return 200 '{"m.server": "chat.exozy.me:443"}'; } + location /.well-known/matrix/client { + return 200 '{"m.homeserver": {"base_url": "https://chat.exozy.me"}}'; + default_type application/json; + add_header Access-Control-Allow-Origin *; + } + location /.well-known/webfinger { return 301 https://social.exozy.me$request_uri; }