Update 91-nginx_ingress.sh

This commit is contained in:
Alexandre
2025-03-08 14:45:33 +01:00
committed by GitHub
parent ec7a47caa9
commit dd119ce54a

View File

@@ -23,7 +23,7 @@ ingress_interface=$(bashio::addon.ip_address)
ingress_entry=$(bashio::addon.ingress_entry)
# 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."
sed -i "1a sleep infinity" /custom-services.d/02-nginx.sh
exit 0