mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update 93-nginx.sh
This commit is contained in:
@@ -8,6 +8,7 @@ if bashio::config.true 'ssl'; then
|
||||
protocol=https
|
||||
certfile=$(bashio::config 'certfile')
|
||||
keyfile=$(bashio::config 'keyfile')
|
||||
# Self generate if not found
|
||||
if [ ! -f /ssl/$certfile ] && [ ! -f /ssl/$keyfile ]; then
|
||||
bashio::log.info "No ssl certificates found. Auto generating ones..."
|
||||
SUBJECT="/C=US/ST=CA/L=Carlsbad/O=Linuxserver.io/OU=LSIO Server/CN=*"
|
||||
|
||||
Reference in New Issue
Block a user