diff --git a/conf/server_name.conf b/conf/server_name.conf index 7386178..c6f5efe 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__:__PORT_TLS__"}'; 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__" } }';