Update 32-ingress.sh

This commit is contained in:
Alexandre
2022-12-20 22:14:11 +01:00
committed by GitHub
parent ef78c39e25
commit ed8c4502c9

View File

@@ -1,6 +1,12 @@
#!/usr/bin/bashio
# shellcheck shell=bash
if [[ -v "${DISABLE_INGRESS}" ]]; then
bashio::log.info "Ingress disabled"
sed -i "/nginx/d" /etc/cont-init.d/99-run.sh
exit 0
fi
#################
# NGINX SETTING #
#################