mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Update 90-configuration.sh
This commit is contained in:
@@ -28,8 +28,8 @@ bashio::config.require.ssl
|
|||||||
if bashio::config.true 'ssl'; then
|
if bashio::config.true 'ssl'; then
|
||||||
bashio::log.info "... ssl enabled. If webui don't work, disable ssl or check your certificate paths"
|
bashio::log.info "... ssl enabled. If webui don't work, disable ssl or check your certificate paths"
|
||||||
#set variables
|
#set variables
|
||||||
CERTFILE="/ssl/$(bashio::config 'certfile')"
|
CERTFILE="$(bashio::config 'certfile')"
|
||||||
KEYFILE="/ssl/$(bashio::config 'keyfile')"
|
KEYFILE="$(bashio::config 'keyfile')"
|
||||||
options+=(--ssl)
|
options+=(--ssl)
|
||||||
options+=(--sslcert /ssl/$CERTFILE)
|
options+=(--sslcert /ssl/$CERTFILE)
|
||||||
options+=(--sslkey /ssl/$KEYFILE)
|
options+=(--sslkey /ssl/$KEYFILE)
|
||||||
|
|||||||
Reference in New Issue
Block a user