From e40a0eae0165f25d4bb288caef950f195c123e06 Mon Sep 17 00:00:00 2001 From: andryyy Date: Fri, 3 Jul 2020 10:20:36 +0200 Subject: [PATCH] [ACME] Fix directory URL --- data/Dockerfiles/acme/obtain-certificate.sh | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/Dockerfiles/acme/obtain-certificate.sh b/data/Dockerfiles/acme/obtain-certificate.sh index a4b11515..a924a0bc 100644 --- a/data/Dockerfiles/acme/obtain-certificate.sh +++ b/data/Dockerfiles/acme/obtain-certificate.sh @@ -39,6 +39,7 @@ if [[ "${LE_STAGING}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then DIRECTORY_URL='--directory-url https://acme-staging-v02.api.letsencrypt.org/directory' elif [[ ! -z "${DIRECTORY_URL}" ]]; then log_f "Using custom directory URL ${DIRECTORY_URL}" + DIRECTORY_URL="--directory-url ${DIRECTORY_URL}" fi if [[ -f ${DOMAINS_FILE} && "$(cat ${DOMAINS_FILE})" == "${CERT_DOMAINS[*]}" ]]; then diff --git a/docker-compose.yml b/docker-compose.yml index 0cfcde37..99743924 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -342,7 +342,7 @@ services: acme-mailcow: depends_on: - nginx-mailcow - image: mailcow/acme:1.71 + image: mailcow/acme:1.72 dns: - ${IPV4_NETWORK:-172.22.1}.254 environment: