This commit is contained in:
Didier Slof 2023-03-16 01:10:22 +01:00
parent 99d0c1e5a8
commit 33450ab689
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -13,4 +13,19 @@ location ^~ /.well-known/acme-challenge/ {
location /_/nginx {
add_header Content-Type text/html;
return 200 "Nginx is working...";
}
location /_matrix {
proxy_pass http://dendrite:8008;
}
location /.well-known/matrix/server {
add_header Content-Type application/json;
return 200 '{"m.server":"ixvd.net:443"}';
}
location /.well-known/matrix/client {
add_header Content-Type application/json;
add_header Access-Control-Allow-Origin *;
return 200 '{"m.homeserver":{"base_url":"https://ixvd.net"},"m.identity_server":{"base_url":"https://vector.im"}}';
}