From e808510db8ef9871dc857e81cd536e5e2283bf0f Mon Sep 17 00:00:00 2001 From: Limezy Date: Mon, 15 Nov 2021 09:19:04 +0700 Subject: [PATCH] Remove path_url Giving up, seems not to be compatible with Outline anyway --- conf/.env | 2 +- conf/nginx.conf | 2 +- manifest.json | 6 ------ scripts/install | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/conf/.env b/conf/.env index f7d2c15..fca1012 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____PATH__ +URL=https://__DOMAIN__ PORT=__PORT__ # See [documentation](docs/SERVICES.md) on running a separate collaboration diff --git a/conf/nginx.conf b/conf/nginx.conf index f34c768..2967bbf 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,4 @@ -location __PATH__/ { +location / { # Force usage of https if ($scheme = http) { diff --git a/manifest.json b/manifest.json index 10412ae..143b5e8 100644 --- a/manifest.json +++ b/manifest.json @@ -48,12 +48,6 @@ "choices": ["fr", "en"], "default": "en" }, - { - "name": "path", - "type": "path", - "example": "/wiki", - "default": "/wiki" - }, { "name": "slack_key", "type": "string", diff --git a/scripts/install b/scripts/install index 0ff91be..642b058 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 language=$YNH_APP_ARG_LANGUAGE