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 committed by tituspijean
parent ea7df8518d
commit 429633adea

View file

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