mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-27 16:24:17 +00:00
Modify ingress script for nginx configuration
Update trusted condition in nginx configuration template.
This commit is contained in:
1 parent
510a7e2660
commit
ef3a67006a
1 file changed
+1
@@ -14,6 +14,7 @@ echo "Adapting for ingress"
|
||||
|
||||
# Remove backend api url to use the base path
|
||||
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
|
||||
ingress_port=$(bashio::addon.ingress_port)
|
||||
|
||||
Reference in new issue
Block a user