diff --git a/conf/server_name.conf b/conf/server_name.conf new file mode 100644 index 0000000..82a92db --- /dev/null +++ b/conf/server_name.conf @@ -0,0 +1,5 @@ + location /.well-known/matrix/ { + return 200 '{"m.server": "$domain", "m.homeserver": "https://$domain"}'; + add_header Content-Type application/json; + add_header Access-Control-Allow-Origin '*'; + }