Update matrix well-known files
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 28s

This commit is contained in:
Tibo De Peuter 2024-01-28 13:23:53 +01:00
parent 52196c54ca
commit 0d99fe513f
3 changed files with 12 additions and 17 deletions

View file

@ -17,15 +17,18 @@ http {
index index.html index.htm;
}
location /.well-known {
alias /usr/share/nginx/html/.well-known;
location /.well-known/matrix/server {
access_log off;
add_header Access-Control-Allow-Origin *;
default_type application/json;
return 200 '{"m.server": "matrix.depeuter.dev:443"}';
}
location /.well-known/matrix/client {
access_log off;
add_header Access-Control-Allow-Origin *;
default_type application/json;
return 200 '{"m.homeserver": {"base_url": "https://matrix.depeuter.dev"}}';
}
}
server {
listen 12345;
listen [::]:12345;
server_name up.depeuter.dev;
proxy_pass http://192.168.0.11/9301;
}
}

View file

@ -1,5 +0,0 @@
{
"m.homeserver": {
"base_url": "https://matrix.depeuter.dev"
}
}

View file

@ -1,3 +0,0 @@
{
"m.server": "matrix.depeuter.dev:443"
}