1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dendrite_ynh.git synced 2024-09-03 18:25:58 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2022-02-06 23:45:36 +01:00
parent 319ffd33a5
commit 14767a1956
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -5,11 +5,13 @@ location ~ ^/$ {
}
location /.well-known/matrix/server {
default_type application/json;
return 200 '{ "m.server": "__DOMAIN__:443" }';
}
location /.well-known/matrix/client {
return 200 '{ "m.homeserver": { "base_url": "https://__DOMAIN__" } }';
more_set_headers Access-Control-Allow-Origin: *";
}
location /_matrix {