location /.well-known/matrix/ { return 200 '{"m.server": "__DOMAIN__:__PORT__"}'; add_header Content-Type application/json; add_header Access-Control-Allow-Origin '*'; }