mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-04 16:21:35 +01:00
Modify ingress script for nginx configuration
Update trusted condition in nginx configuration template.
This commit is contained in:
@@ -14,6 +14,7 @@ echo "Adapting for ingress"
|
|||||||
|
|
||||||
# Remove backend api url to use the base path
|
# Remove backend api url to use the base path
|
||||||
sed -i "s|'/server'|''|g" /app/back/app.conf
|
sed -i "s|'/server'|''|g" /app/back/app.conf
|
||||||
|
sed -i "s|(\$is_trusted != \"TRUSTED\")|(\$is_trusted = \"AAA\")|g" /services/config/nginx/netalertx.conf.template
|
||||||
|
|
||||||
# Adapt nginx configuration
|
# Adapt nginx configuration
|
||||||
ingress_port=$(bashio::addon.ingress_port)
|
ingress_port=$(bashio::addon.ingress_port)
|
||||||
|
|||||||
Reference in New Issue
Block a user