From 338979fed58aea199cc5ca118d7db2f0d292a28d Mon Sep 17 00:00:00 2001 From: Limezy Date: Sun, 14 Nov 2021 23:33:38 +0700 Subject: [PATCH] Updates path_url --- conf/.env | 2 +- conf/nginx.conf | 2 +- scripts/install | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/.env b/conf/.env index fca1012..a2db8bf 100644 --- a/conf/.env +++ b/conf/.env @@ -26,7 +26,7 @@ REDIS_URL=redis://localhost:6379 # URL should point to the fully qualified, publicly accessible URL. If using a # proxy the port in URL and PORT may be different. -URL=https://__DOMAIN__ +URL=https://__DOMAIN__/__PATH__ PORT=__PORT__ # See [documentation](docs/SERVICES.md) on running a separate collaboration diff --git a/conf/nginx.conf b/conf/nginx.conf index 2967bbf..f34c768 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,4 @@ -location / { +location __PATH__/ { # Force usage of https if ($scheme = http) { diff --git a/scripts/install b/scripts/install index 03c3a64..41618ef 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=$YNH_APP_ARG_PATH is_public=$YNH_APP_ARG_IS_PUBLIC language=$YNH_APP_ARG_LANGUAGE