mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 06:14:07 +02:00
Message
This commit is contained in:
@@ -8,7 +8,7 @@ if bashio::config.true 'ssl'; then
|
|||||||
sed -i "s#%%keyfile%%#${keyfile}#g" /etc/nginx/servers/direct.conf
|
sed -i "s#%%keyfile%%#${keyfile}#g" /etc/nginx/servers/direct.conf
|
||||||
|
|
||||||
if bashio::config.has_value "PAPERLESS_URL"; then
|
if bashio::config.has_value "PAPERLESS_URL"; then
|
||||||
bashio::log.warning "Ssl enabled, your site will be available at $(bashio::config "PAPERLESS_URL"):$(bashio::addon.port 8000)"
|
bashio::log.warning "Ssl enabled, your site will be available at $(bashio::config "PAPERLESS_URL"):$(bashio::addon.port 8443). Don't forget to enable the https alternative port in the addon options."
|
||||||
else
|
else
|
||||||
bashio::log.fatal "PAPERLESS_URL not set, you won't be able to access your site (CSRF error)"
|
bashio::log.fatal "PAPERLESS_URL not set, you won't be able to access your site (CSRF error)"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user