mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-17 12:59:13 +02:00
Update 32-ingress.sh
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
#!/usr/bin/bashio
|
#!/usr/bin/bashio
|
||||||
# shellcheck shell=bash
|
# 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 #
|
# NGINX SETTING #
|
||||||
#################
|
#################
|
||||||
|
|||||||
Reference in New Issue
Block a user