neb/servers/keymaker/docker-compose.d/custom/nginx/conf.d/ixvd-web.conf
2023-11-03 13:52:10 +01:00

21 lines
No EOL
577 B
Text

server {
listen 80;
server_name ixvd.net;
location / {
proxy_pass http://ixvd-web:8080;
}
# matrix
location /.well-known/matrix/server {
add_header Content-Type application/json;
add_header Access-Control-Allow-Origin *;
return 200 '{ "m.server": "matrix.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://matrix.ixvd.net" } }';
}
}