From 0c16da3ac55fff32afc528ff0faf45f7ae7f470b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 1 Jun 2022 08:31:57 +0200 Subject: [PATCH] Matrix (#120) * Update nginx.conf * 4.8.0 * Auto-update README Co-authored-by: yunohost-bot --- README.md | 2 +- README_fr.md | 2 +- conf/app.src | 4 ++-- conf/nginx.conf | 16 ++++++++++++---- manifest.json | 2 +- 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0f8e336..1edba31 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Rocket.Chat is an open-source fully customizable communications platform developed in JavaScript for organizations with high standards of data protection. -**Shipped version:** 4.7.4~ynh1 +**Shipped version:** 4.8.0~ynh1 **Demo:** https://cloud.rocket.chat/trial diff --git a/README_fr.md b/README_fr.md index 924c0d7..2775700 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) pour Rocket.Chat est une plate-forme de communication open source entièrement personnalisable développée en JavaScript pour les organisations avec des normes élevées de protection des données. -**Version incluse :** 4.7.4~ynh1 +**Version incluse :** 4.8.0~ynh1 **Démo :** https://cloud.rocket.chat/trial diff --git a/conf/app.src b/conf/app.src index e4c233a..08219df 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://releases.rocket.chat/4.7.4/download -SOURCE_SUM=bc479348499e86beb4ea6a681ddc5bd6fdb77f0c16bd69bb5aef13779a1b0e73 +SOURCE_URL=https://releases.rocket.chat/4.8.0/download +SOURCE_SUM=4deda560c2451dd822931444ec5bac906ed83f242e1f590f66c0e873a1dd7961 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/nginx.conf b/conf/nginx.conf index e5ac8f3..c187424 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,8 +12,16 @@ location ^~ __PATH__/ { proxy_http_version 1.1; proxy_set_header Connection "upgrade"; proxy_set_header Upgrade $http_upgrade; - - # Include SSOWAT user panel. - include conf.d/yunohost_panel.conf.inc; - more_clear_input_headers 'Accept-Encoding'; } + +#https://geekgonecrazy.com/2022/05/30/rocketchat-and-the-matrix-protocol/ +location /.well-known/matrix/ { + + proxy_pass http://127.0.0.1:8008; + proxy_redirect off; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Host $server_name; +} \ No newline at end of file diff --git a/manifest.json b/manifest.json index 364050a..ff7b4b9 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Team collaboration communication platform", "fr": "Plateforme de communication collaborative en équipe" }, - "version": "4.7.4~ynh1", + "version": "4.8.0~ynh1", "url": "https://rocket.chat", "upstream": { "license": "GPL-3.0",