From 5a79a20bd60bbeb29a71a54777b35fdc2f946a2a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 3 Feb 2022 19:36:35 +0100 Subject: [PATCH] Fix --- conf/nginx.conf | 5 ++--- manifest.json | 6 ------ scripts/install | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 7cd585c..3512ed3 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,10 +1,9 @@ -#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; -location __PATH__/ { +location / { index index.html; root /usr/share/kiwiirc/; } -location __PATH__/webirc/ { +location /webirc/ { # Forward incoming requests to local webircgateway socket proxy_pass http://127.0.0.1:__PORT__/webirc/; diff --git a/manifest.json b/manifest.json index 7086acd..2a285be 100644 --- a/manifest.json +++ b/manifest.json @@ -31,12 +31,6 @@ { "name": "domain", "type": "domain" - }, - { - "name": "path", - "type": "path", - "example": "/kiwiirc", - "default": "/kiwiirc" } ] } diff --git a/scripts/install b/scripts/install index 07009ff..8f98785 100644 --- a/scripts/install +++ b/scripts/install @@ -21,7 +21,7 @@ ynh_abort_if_errors #================================================= domain=$YNH_APP_ARG_DOMAIN -path_url=$YNH_APP_ARG_PATH +path_url="/" app=$YNH_APP_INSTANCE_NAME