From d232ae5ce5045f3e4f0e85d88c3722b0c65ac561 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 22 Apr 2022 22:41:58 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 79b2fd8..d805a78 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,9 +11,6 @@ location / { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; - - # Include SSOWAT user panel. - include conf.d/yunohost_panel.conf.inc; } location /.well-known/acme-challenge { @@ -28,15 +25,7 @@ location /.well-known/matrix/client { return 200 '{ "m.homeserver": { "base_url": "https://__SYNAPSE_DOMAIN__" } }'; } -location /_matrix { - 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 { +location ~* ^(\/_matrix|\/_synapse\/admin|\/_synapse\/client) { proxy_pass http://127.0.0.1:8008; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Host $host;