浏览代码

[ACME] Register error when no hostname could be validated

andryyy 6 年之前
父节点
当前提交
6a8c4e332b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      data/Dockerfiles/acme/docker-entrypoint.sh

+ 1 - 0
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