mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-17 11:30:32 +02:00
Update 30-nginx.sh
This commit is contained in:
@@ -10,6 +10,7 @@ declare portainer_protocol=http
|
|||||||
# Generate Ingress configuration
|
# Generate Ingress configuration
|
||||||
if bashio::config.true 'ssl'; then
|
if bashio::config.true 'ssl'; then
|
||||||
portainer_protocol=https
|
portainer_protocol=https
|
||||||
|
fi
|
||||||
|
|
||||||
bashio::var.json \
|
bashio::var.json \
|
||||||
interface "$(bashio::addon.ip_address)" \
|
interface "$(bashio::addon.ip_address)" \
|
||||||
@@ -21,4 +22,4 @@ bashio::var.json \
|
|||||||
| tempio \
|
| tempio \
|
||||||
-template /etc/nginx/templates/ingress.gtpl \
|
-template /etc/nginx/templates/ingress.gtpl \
|
||||||
-out /etc/nginx/servers/ingress.conf
|
-out /etc/nginx/servers/ingress.conf
|
||||||
fi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user