Update matrix well-known files
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 28s
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 28s
This commit is contained in:
parent
52196c54ca
commit
0d99fe513f
3 changed files with 12 additions and 17 deletions
19
nginx.conf
19
nginx.conf
|
@ -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"}';
|
||||
}
|
||||
|
||||
server {
|
||||
listen 12345;
|
||||
listen [::]:12345;
|
||||
server_name up.depeuter.dev;
|
||||
proxy_pass http://192.168.0.11/9301;
|
||||
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"}}';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"m.homeserver": {
|
||||
"base_url": "https://matrix.depeuter.dev"
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"m.server": "matrix.depeuter.dev:443"
|
||||
}
|
Loading…
Reference in a new issue