diff --git a/conf/nginx.conf b/conf/nginx.conf index db7a0f1..5be9ffb 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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;