31 lines
No EOL
824 B
Text
31 lines
No EOL
824 B
Text
## Start of configuration add by letsencrypt container
|
|
location ^~ /.well-known/acme-challenge/ {
|
|
auth_basic off;
|
|
auth_request off;
|
|
allow all;
|
|
root /usr/share/nginx/html;
|
|
try_files $uri =404;
|
|
break;
|
|
}
|
|
## End of configuration add by letsencrypt container
|
|
|
|
|
|
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"}}';
|
|
} |