diff --git a/check_process b/check_process index b1ea4c6..04b722d 100644 --- a/check_process +++ b/check_process @@ -10,8 +10,6 @@ setup_private=1 setup_public=1 upgrade=1 - # 3.4.14~ynh1 - upgrade=1 from_commit=6e2eba4a9b6b455b35ce9d8e558c454a001bfacf # 3.4.18~ynh1 upgrade=1 from_commit=674f8d3211ba98b10f169deea3127a8b378c6c3c backup_restore=1 diff --git a/conf/app.src b/conf/app.src index 3541b63..787ea93 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/timvisee/send/archive/refs/tags/v3.4.20.tar.gz -SOURCE_SUM=d8b485383f5f2fdca98501e1abdacec158b2eb04a7a8a4dabae2a0d4f542c6e4 +SOURCE_URL=https://github.com/timvisee/send/archive/refs/tags/v3.4.21.tar.gz +SOURCE_SUM=60b42b4c99b439b4d2aabea0efdab930c80730de4c8f46e41c68d05c1052ff1c SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/nginx.conf b/conf/nginx.conf index 0ef73f7..1daeeaa 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,7 @@ -location / { +#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; +location __PATH__/ { - proxy_pass http://127.0.0.1:__PORT__; + proxy_pass http://127.0.0.1:__PORT__/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -16,5 +17,5 @@ location /api/ws { proxy_set_header Connection ""; proxy_connect_timeout 4000s; proxy_read_timeout 4000s; - proxy_pass http://127.0.0.1:__PORT__; + proxy_pass http://127.0.0.1:__PORT__/; } diff --git a/manifest.json b/manifest.json index e8af167..cc73ea4 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "File sharing which allows to send encrypted files", "fr": "Partage de fichiers qui permet d'envoyer des fichiers chiffrés" }, - "version": "3.4.20~ynh2", + "version": "3.4.21~ynh1", "url": "https://github.com/timvisee/send", "upstream": { "license": "MPL-2.0",