Unverified Commit a76dcd4b authored by neil's avatar neil Committed by GitHub
Browse files

Merge pull request #3581 from acmesh-official/dev

sync
parents 518e1df2 2d071853
......@@ -5043,6 +5043,11 @@ renew() {
. "$DOMAIN_CONF"
_debug Le_API "$Le_API"
if [ -z "$Le_API" ]; then
#if this is from an old version, Le_API is empty,
#so, we force to use letsencrypt server
Le_API="$CA_LETSENCRYPT_V2"
fi
if [ "$Le_API" ]; then
if [ "$Le_API" != "$ACME_DIRECTORY" ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment