fmt
This commit is contained in:
parent
48541f1d8a
commit
9278a68e50
1 changed files with 9 additions and 9 deletions
|
@ -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"}}`
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue