rico2: setup matrix well-knowns
This commit is contained in:
parent
7a6eed3cd8
commit
b4c6869608
1 changed files with 12 additions and 0 deletions
|
@ -9,6 +9,18 @@
|
|||
serverAliases = ["www.adtya.xyz"];
|
||||
extraConfig = ''
|
||||
reverse_proxy http://127.0.0.1:3000
|
||||
|
||||
handle /.well-known/matrix/server {
|
||||
header Content-Type application/json
|
||||
header Access-Control-Allow-Origin *
|
||||
respond `{"m.server": "matrix.adtya.xyz:443"}`
|
||||
}
|
||||
|
||||
handle /.well-known/matrix/client {
|
||||
header Content-Type application/json
|
||||
header Access-Control-Allow-Origin *
|
||||
respond `{"m.homeserver": {"base_url": "https://matrix.adtya.xyz:443"}}`
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue