mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-25 10:11:53 +02:00
Move PATH to nginx
This commit is contained in:
@@ -45,7 +45,6 @@ fi
|
|||||||
|
|
||||||
declare TOKEN
|
declare TOKEN
|
||||||
TOKEN=$(bashio::config 'secret_token')
|
TOKEN=$(bashio::config 'secret_token')
|
||||||
PATH=$(bashio::config 'ui_path')
|
|
||||||
VERBOSE=$(bashio::config 'verbose') || true
|
VERBOSE=$(bashio::config 'verbose') || true
|
||||||
|
|
||||||
# check password change
|
# check password change
|
||||||
@@ -81,7 +80,9 @@ declare ingress_interface
|
|||||||
declare ingress_port
|
declare ingress_port
|
||||||
declare keyfile
|
declare keyfile
|
||||||
|
|
||||||
|
PATH=$(bashio::config 'ui_path')
|
||||||
port=$(bashio::addon.port 80)
|
port=$(bashio::addon.port 80)
|
||||||
|
|
||||||
ingress_port=$(bashio::addon.ingress_port)
|
ingress_port=$(bashio::addon.ingress_port)
|
||||||
ingress_interface=$(bashio::addon.ip_address)
|
ingress_interface=$(bashio::addon.ip_address)
|
||||||
sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/servers/ingress.conf
|
sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/servers/ingress.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user