This commit is contained in:
Adithya 2023-06-03 00:43:12 +05:30
parent 48541f1d8a
commit 9278a68e50
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -10,16 +10,16 @@
reverse_proxy http://127.0.0.1:3000 reverse_proxy http://127.0.0.1:3000
handle /.well-known/matrix/server { handle /.well-known/matrix/server {
header Content-Type application/json header Content-Type application/json
header Access-Control-Allow-Origin * header Access-Control-Allow-Origin *
respond `{"m.server": "matrix.adtya.xyz:443"}` respond `{"m.server": "matrix.adtya.xyz:443"}`
} }
handle /.well-known/matrix/client { handle /.well-known/matrix/client {
header Content-Type application/json header Content-Type application/json
header Access-Control-Allow-Origin * header Access-Control-Allow-Origin *
respond `{"m.homeserver": {"base_url": "https://matrix.adtya.xyz:443"}}` respond `{"m.homeserver": {"base_url": "https://matrix.adtya.xyz:443"}}`
} }
''; '';
}; };
} }