mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 06:44:06 +02:00
Update nginx.txt
This commit is contained in:
@@ -39,6 +39,17 @@ if bashio::supervisor.ping; then
|
|||||||
'-----------------------------------------------------------'
|
'-----------------------------------------------------------'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
################
|
||||||
|
# SSL CONFIG #
|
||||||
|
################
|
||||||
|
|
||||||
|
bashio::config.require.ssl
|
||||||
|
if bashio::config.true 'ssl'; then
|
||||||
|
bashio::log.info "ssl enabled"
|
||||||
|
sed -i "s/:80/:443/g" /app/Caddyfile
|
||||||
|
sed -i "s/auto_https off/auto_https on/g" /app/Caddyfile
|
||||||
|
fi
|
||||||
|
|
||||||
###########
|
###########
|
||||||
# Ingress #
|
# Ingress #
|
||||||
###########
|
###########
|
||||||
|
|||||||
Reference in New Issue
Block a user