mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
Change 1.1.1.1 to 1.0.0.1 to probe compatibility (#2330)
As we can see, 1.1.1.1 is not routed or routed to an Intranet devices due to historical reason. Change 1.1.1.1 to 1.0.0.1 will have a better compatibility. I found this problem on my Tencent Cloud server.
This commit is contained in:
parent
28a9df669d
commit
3cdfa4051d
2
acme.sh
2
acme.sh
@ -3621,7 +3621,7 @@ _ns_purge_cf() {
|
|||||||
_cf_d="$1"
|
_cf_d="$1"
|
||||||
_cf_d_type="$2"
|
_cf_d_type="$2"
|
||||||
_debug "Cloudflare purge $_cf_d_type record for domain $_cf_d"
|
_debug "Cloudflare purge $_cf_d_type record for domain $_cf_d"
|
||||||
_cf_purl="https://1.1.1.1/api/v1/purge?domain=$_cf_d&type=$_cf_d_type"
|
_cf_purl="https://1.0.0.1/api/v1/purge?domain=$_cf_d&type=$_cf_d_type"
|
||||||
response="$(_post "" "$_cf_purl")"
|
response="$(_post "" "$_cf_purl")"
|
||||||
_debug2 response "$response"
|
_debug2 response "$response"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user