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/ 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; 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", 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