mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
Update 91-nginx_ingress.sh
This commit is contained in:
@@ -23,7 +23,7 @@ ingress_interface=$(bashio::addon.ip_address)
|
|||||||
ingress_entry=$(bashio::addon.ingress_entry)
|
ingress_entry=$(bashio::addon.ingress_entry)
|
||||||
|
|
||||||
# Quits if ingress is not active
|
# Quits if ingress is not active
|
||||||
if [ -z "$ingress_entry" ]; then
|
if [[ "$ingress_entry" != "/api"* ]]; then
|
||||||
bashio::log.info "Ingress entry is not set, exiting configuration."
|
bashio::log.info "Ingress entry is not set, exiting configuration."
|
||||||
sed -i "1a sleep infinity" /custom-services.d/02-nginx.sh
|
sed -i "1a sleep infinity" /custom-services.d/02-nginx.sh
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user