From 6a8c4e332b67d6e6e00fb40a68e9fff80ab5e1e4 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 16 May 2019 19:43:08 +0200 Subject: [PATCH] [ACME] Register error when no hostname could be validated --- data/Dockerfiles/acme/docker-entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/data/Dockerfiles/acme/docker-entrypoint.sh b/data/Dockerfiles/acme/docker-entrypoint.sh index 780b88b9..dd0ec8fa 100755 --- a/data/Dockerfiles/acme/docker-entrypoint.sh +++ b/data/Dockerfiles/acme/docker-entrypoint.sh @@ -404,6 +404,7 @@ while true; do if [[ -z ${ALL_VALIDATED[*]} ]]; then log_f "Cannot validate hostnames, skipping Let's Encrypt for 1 hour." log_f "Use SKIP_LETS_ENCRYPT=y in mailcow.conf to skip it permanently." + redis-cli -h redis SET ACME_FAIL_TIME "$(date +%s)" sleep 1h exec $(readlink -f "$0") fi