From 4eef7e38081b7b0cd3136429f17a14297f2e63c1 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 24 Jan 2023 17:21:03 +0000 Subject: [PATCH 1/4] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6cc3fea..95b2daa 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Admin UI for Synapse -**Shipped version:** 0.8.5~ynh3 +**Shipped version:** 0.8.5~ynh4 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 8294c0b..6f4cd53 100644 --- a/README_fr.md +++ b/README_fr.md @@ -17,7 +17,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po Admin UI pour Synapse -**Version incluse :** 0.8.5~ynh3 +**Version incluse :** 0.8.5~ynh4 ## Captures d’écran From 8d875dc3c52edb901f0e13205f41dad639c39038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 24 Jan 2023 18:25:39 +0100 Subject: [PATCH 2/4] Update endpoint.nginx.conf --- conf/endpoint.nginx.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/endpoint.nginx.conf b/conf/endpoint.nginx.conf index 3963200..3288035 100644 --- a/conf/endpoint.nginx.conf +++ b/conf/endpoint.nginx.conf @@ -1,10 +1,13 @@ -location /_synapse/admin { +location ~ ^(/_matrix|/_synapse/client) { + proxy_pass http://127.0.0.1:__SYNAPSE_PORT__; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $host; client_max_body_size 100M; + + proxy_http_version 1.1; more_set_headers "Access-Control-Allow-Origin: __DOMAIN__"; } From f4a7ef78fc4ce06763416d3b677e850fa8032cf7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 18 Feb 2023 12:46:39 +0100 Subject: [PATCH 3/4] Update endpoint.nginx.conf --- conf/endpoint.nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/endpoint.nginx.conf b/conf/endpoint.nginx.conf index 3288035..2edb71e 100644 --- a/conf/endpoint.nginx.conf +++ b/conf/endpoint.nginx.conf @@ -9,5 +9,5 @@ location ~ ^(/_matrix|/_synapse/client) { proxy_http_version 1.1; - more_set_headers "Access-Control-Allow-Origin: __DOMAIN__"; + more_set_headers "Access-Control-Allow-Origin: https://__DOMAIN__"; } From 8943b1a75110dc7716e8b8673e3b67fd693b6753 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 18 Feb 2023 12:47:27 +0100 Subject: [PATCH 4/4] Update endpoint.nginx.conf --- conf/endpoint.nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/endpoint.nginx.conf b/conf/endpoint.nginx.conf index 2edb71e..c034595 100644 --- a/conf/endpoint.nginx.conf +++ b/conf/endpoint.nginx.conf @@ -1,4 +1,4 @@ -location ~ ^(/_matrix|/_synapse/client) { +location /_synapse/admin { proxy_pass http://127.0.0.1:__SYNAPSE_PORT__; proxy_set_header X-Forwarded-For $remote_addr;