From f6e73a4dcd168454aeef31ce65a29762b26ec4d6 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 14 May 2021 08:31:17 +0200 Subject: [PATCH] Move PATH to nginx --- joal/rootfs/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/joal/rootfs/run.sh b/joal/rootfs/run.sh index e1f563ec9..b284b8615 100644 --- a/joal/rootfs/run.sh +++ b/joal/rootfs/run.sh @@ -45,7 +45,6 @@ fi declare TOKEN TOKEN=$(bashio::config 'secret_token') -PATH=$(bashio::config 'ui_path') VERBOSE=$(bashio::config 'verbose') || true # check password change @@ -81,7 +80,9 @@ declare ingress_interface declare ingress_port declare keyfile +PATH=$(bashio::config 'ui_path') port=$(bashio::addon.port 80) + ingress_port=$(bashio::addon.ingress_port) ingress_interface=$(bashio::addon.ip_address) sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/servers/ingress.conf