From d1c5ee00cb44563075bdaab369aa9f8906257cfc Mon Sep 17 00:00:00 2001 From: Ben Green Date: Thu, 21 Apr 2022 21:13:59 +0100 Subject: [PATCH 1/2] Bumping version to 3.3.11 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index f9f89f5..a8bf53a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.3.10 \ No newline at end of file +3.3.11 \ No newline at end of file From ac3c12bd1f5b9d39c1078163d51fcfc1221954a7 Mon Sep 17 00:00:00 2001 From: Ben Green Date: Thu, 21 Apr 2022 21:15:38 +0100 Subject: [PATCH 2/2] Adding PROXY_ENABLE_AUTO_UPDATE to allow update disabling --- Dockerfile | 2 ++ overlay/etc/periodic/daily/update-certs | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0f8d9da..c920217 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,8 @@ ENV \ # the base URI of the proxy server (will be used when SSL bindings fail) # set to 1 to use live instead of staging server PROXY_LETS_ENCRYPT_LIVE=0 \ + # enable automatic certificate updating + PROXY_ENABLE_AUTO_UPDATE=1 \ # set to the number of bits to use for generating private key PROXY_SSL_KEY_BITS=4096 \ # set to the number of bits to use for generating DHPARAM diff --git a/overlay/etc/periodic/daily/update-certs b/overlay/etc/periodic/daily/update-certs index 2301433..4c1eea8 100644 --- a/overlay/etc/periodic/daily/update-certs +++ b/overlay/etc/periodic/daily/update-certs @@ -8,4 +8,6 @@ export BF_E=`basename ${0}` # Run SSL update executable and log output to /ssl directory. #====================================================================================================================== -ssl-update > ${PROXY_SSL}/update.log +if [ "${PROXY_ENABLE_AUTO_UPDATE}" = "1" ] ; then + ssl-update > ${PROXY_SSL}/update.log +fi