From 110cf98d2dbdef54989540ca970dbdbcef3d05b0 Mon Sep 17 00:00:00 2001 From: mihalin Date: Wed, 15 Sep 2021 23:26:36 +0300 Subject: [PATCH] minor changes, auto-certificate --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index e7f4dde..98c229c 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/sh set -e -if [[ -z "${CUSTOM_CERT}" ]]; then +if [[ ! -z "${CUSTOM_CERT}" ]]; then echo "Use custom certificate" if [ ! -f /cert/private.key ]; then echo "Generate new certificate"