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:
parent
319ffd33a5
commit
14767a1956
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue