From 747ffac396206766e656f57a0ab3f924748bb5f6 Mon Sep 17 00:00:00 2001 From: Papa Dragon Date: Sun, 13 Aug 2023 00:59:36 +0200 Subject: [PATCH 1/4] Remove sudo from dependencies in _common.sh Should help keep level 8 --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 80678ad..f1abfde 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="ca-certificates curl sudo rsync" +pkg_dependencies="ca-certificates curl rsync" NODEJS_VERSION=10 From 8a8b8a9af36761fbdd5e1f4f3c3106df58b835e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 13 Aug 2023 12:26:35 +0200 Subject: [PATCH 2/4] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index e286bf5..6ebef2a 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Distributed pastebin with ActivityPub.", "fr": "Pastebin distribué utilisant le protocole ActivityPub." }, - "version": "1.3.0~ynh11", + "version": "1.3.0~ynh12", "url": "https://distbin.com", "upstream": { "license": "Apache-2.0", From d40fb0a5e07fbc8993bfc72c005dd46f7683a427 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 13 Aug 2023 10:26:40 +0000 Subject: [PATCH 3/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 3a72c5b..645ab78 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ A networked place to store posted web documents. This is meant to allow for dist - Excepteur sint occaecat cupidatat non proident, sunt in culpa." -**Shipped version:** 1.3.0~ynh11 +**Shipped version:** 1.3.0~ynh12 **Demo:** https://distbin.com/ diff --git a/README_fr.md b/README_fr.md index 0723d48..cd8b4b9 100644 --- a/README_fr.md +++ b/README_fr.md @@ -29,7 +29,7 @@ A networked place to store posted web documents. This is meant to allow for dist - Excepteur sint occaecat cupidatat non proident, sunt in culpa." -**Version incluse :** 1.3.0~ynh11 +**Version incluse :** 1.3.0~ynh12 **Démo :** https://distbin.com/ From aba4f898d04d2e407047af41c305f87c8ef5066b Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 15 Aug 2023 08:46:45 +0200 Subject: [PATCH 4/4] nginx.conf: http_host -> host --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index c220744..4d3fb10 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,7 +3,7 @@ location __PATH__/ { proxy_pass http://127.0.0.1:__PORT__/; proxy_pass_request_headers on; - proxy_redirect ~^/(.*) $scheme://$http_host__PATH__/$1; + proxy_redirect ~^/(.*) $scheme://$host__PATH__/$1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;