mirror of
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion
synced 2024-11-26 08:53:52 +01:00
refactor: remove support for global ACME_CHALLENGE
This commit is contained in:
parent
9772acc57d
commit
124b6c034c
@ -172,9 +172,7 @@ function update_cert {
|
||||
|
||||
# ACME challenge type
|
||||
local -n acme_challenge="ACME_${cid}_CHALLENGE"
|
||||
if [[ -z "${acme_challenge}" ]]; then
|
||||
acme_challenge="${ACME_CHALLENGE:-HTTP-01}"
|
||||
fi
|
||||
acme_challenge="${acme_challenge:-HTTP-01}"
|
||||
|
||||
if [[ "$acme_challenge" == "HTTP-01" ]]; then
|
||||
# HTTP-01 challenge
|
||||
|
Loading…
Reference in New Issue
Block a user