From 2eb1c6889cd294283152bf2e9531790e0b4a6c25 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 25 Nov 2021 14:02:42 +0100 Subject: [PATCH] Fix --- conf/nginx.conf | 3 +-- manifest.json | 6 ------ scripts/install | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 92b6043..83c83e2 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,4 @@ -#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; -location ^~ __PATH__/ { +location / { proxy_pass http://127.0.0.1:__PORT__; proxy_redirect off; diff --git a/manifest.json b/manifest.json index 36b4ed8..956ad22 100644 --- a/manifest.json +++ b/manifest.json @@ -33,12 +33,6 @@ "name": "domain", "type": "domain" }, - { - "name": "path", - "type": "path", - "example": "/turtl", - "default": "/" - }, { "name": "is_public", "type": "boolean", diff --git a/scripts/install b/scripts/install index 583f4da..e821eca 100755 --- a/scripts/install +++ b/scripts/install @@ -25,7 +25,7 @@ ynh_abort_if_errors #================================================= domain=$YNH_APP_ARG_DOMAIN -path_url=$YNH_APP_ARG_PATH +path_url="/" is_public=$YNH_APP_ARG_IS_PUBLIC hash=$(ynh_string_random --length=128)