1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse-admin_ynh.git synced 2024-09-03 20:26:34 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2022-02-21 15:18:35 +01:00
parent b18fa74b86
commit 43525199c0

View file

@ -16,6 +16,10 @@ location / {
include conf.d/yunohost_panel.conf.inc;
}
location /.well-known/acme-challenge {
proxy_pass http://127.0.0.1:8009;
}
location /.well-known/matrix/server {
return 200 '{ "m.server": "__SYNAPSE_DOMAIN__:443" }';
}
@ -25,15 +29,15 @@ location /.well-known/matrix/client {
}
location /_matrix {
proxy_pass http://localhost:8008;
proxy_pass http://127.0.0.1:8008;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_read_timeout 600;
client_max_body_size 100M;
}
location /_synapse/admin {
proxy_pass http://localhost:8008;
location /_synapse {
proxy_pass http://127.0.0.1:8008;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_read_timeout 600;