Configure Synapse .well-known client delegation

This commit is contained in:
Anthony Wang 2021-12-05 11:47:29 -06:00
parent 8d0daabe13
commit 926478a379
Signed by: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -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;
}