From 4bc9cf6689c25599480c061767bff748e569e82b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 13 Nov 2021 17:58:57 +0100 Subject: [PATCH] Update 93-nginx.sh --- emby/root/etc/cont-init.d/93-nginx.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/emby/root/etc/cont-init.d/93-nginx.sh b/emby/root/etc/cont-init.d/93-nginx.sh index a28f3643b..3aa931d1a 100644 --- a/emby/root/etc/cont-init.d/93-nginx.sh +++ b/emby/root/etc/cont-init.d/93-nginx.sh @@ -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=*"