mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 06:14:07 +02:00
Update 30-nginx.sh
This commit is contained in:
@@ -11,8 +11,8 @@ 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 "s|9099 default_server|9099 ssl|g" /etc/nginx/includes/upstream.conf
|
sed -i "s|9099 default_server|9099 ssl|g" /etc/nginx/templates/ingress.gtpl
|
||||||
bashio::log.info "Ssl enabled"
|
bashio::log.info "Ssl enabled, please use https for connection"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bashio::var.json \
|
bashio::var.json \
|
||||||
|
|||||||
Reference in New Issue
Block a user