2023-10-20 07:57:24 +02:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
server_name ixvd.net;
|
|
|
|
|
|
|
|
location / {
|
2023-11-03 01:06:25 +01:00
|
|
|
proxy_pass http://ixvd-web:8080;
|
2023-10-20 07:57:24 +02:00
|
|
|
}
|
2023-10-22 14:47:10 +02:00
|
|
|
|
|
|
|
# matrix
|
|
|
|
location /.well-known/matrix/server {
|
2023-11-03 01:09:37 +01:00
|
|
|
add_header Content-Type application/json;
|
2023-10-22 14:47:10 +02:00
|
|
|
return 200 '{ "m.server": "matrix.ixvd.net:443" }';
|
|
|
|
}
|
|
|
|
|
|
|
|
location /.well-known/matrix/client {
|
2023-11-03 01:09:37 +01:00
|
|
|
add_header Content-Type application/json;
|
2023-10-22 14:47:10 +02:00
|
|
|
add_header Access-Control-Allow-Origin '*';
|
|
|
|
return 200 '{ "m.homeserver": { "base_url": "https://matrix.ixvd.net" } }';
|
|
|
|
}
|
2023-10-20 07:57:24 +02:00
|
|
|
}
|