mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update 99-run.sh
This commit is contained in:
@@ -56,7 +56,8 @@ esac
|
||||
if bashio::config.true "ingress_disabled"; then
|
||||
bashio::log.warning "Ingress is disabled. You'll need to connect using ip:port"
|
||||
sed -i "s|$(bashio::addon.ingress_entry)||g" /etc/nginx/servers/ssl.conf
|
||||
sed -i "7,10d" /etc/nginx/servers/ssl.conf
|
||||
sed -i "s|location = /|location = /null|g" /etc/nginx/servers/ssl.conf
|
||||
# sed -i "7,10d" /etc/nginx/servers/ssl.conf
|
||||
# rm /etc/nginx/servers/ingress.conf
|
||||
else
|
||||
PHOTOPRISM_SITE_URL="$(bashio::addon.ingress_entry)/"
|
||||
|
||||
Reference in New Issue
Block a user