This commit is contained in:
y1lm0z
2026-07-16 01:50:29 +03:00
parent 3492f7b8e4
commit b18325fbef
6 changed files with 7 additions and 6 deletions
@@ -0,0 +1,19 @@
server {
listen 80 default_server;
server_name _;
location /.well-known/matrix/server {
default_type application/json;
return 200 '{"m.server": "${APP_DOMAIN}:443"}';
}
location /.well-known/matrix/client {
default_type application/json;
add_header Access-Control-Allow-Origin *;
return 200 '{"m.homeserver": {"base_url": "https://${APP_DOMAIN}"}}';
}
location / {
return 404;
}
}