mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update 30-nginx.sh
This commit is contained in:
@@ -11,7 +11,7 @@ declare portainer_protocol=http
|
|||||||
if bashio::config.true 'ssl'; then
|
if bashio::config.true 'ssl'; then
|
||||||
portainer_protocol=https
|
portainer_protocol=https
|
||||||
sed -i "s|9000|9443|g" /etc/nginx/includes/upstream.conf
|
sed -i "s|9000|9443|g" /etc/nginx/includes/upstream.conf
|
||||||
sed -i '/listen/a listen {{ .interface }}:9000 default_server;' /etc/nginx/templates/ingress.gtpl
|
#sed -i '/listen/a listen {{ .interface }}:9000 default_server;' /etc/nginx/templates/ingress.gtpl
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bashio::var.json \
|
bashio::var.json \
|
||||||
|
|||||||
Reference in New Issue
Block a user