try this
This commit is contained in:
parent
99d0c1e5a8
commit
33450ab689
1 changed files with 15 additions and 0 deletions
|
@ -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"}}';
|
||||
}
|
Reference in a new issue