mirror of https://github.com/allinssl/allinssl
修复申请部署
parent
79c04f7b00
commit
0252451ed1
|
@ -12,7 +12,6 @@ import (
|
|||
"github.com/go-acme/lego/v4/certcrypto"
|
||||
"github.com/go-acme/lego/v4/certificate"
|
||||
"github.com/go-acme/lego/v4/challenge"
|
||||
"github.com/go-acme/lego/v4/challenge/dns01"
|
||||
"github.com/go-acme/lego/v4/lego"
|
||||
"github.com/go-acme/lego/v4/providers/dns/alidns"
|
||||
"github.com/go-acme/lego/v4/providers/dns/baiducloud"
|
||||
|
@ -237,10 +236,10 @@ func Apply(cfg map[string]any, logger *public.Logger) (map[string]any, error) {
|
|||
// // 跳过预检查
|
||||
// return true, nil
|
||||
// }),
|
||||
dns01.AddRecursiveNameservers([]string{
|
||||
"8.8.8.8:53",
|
||||
"1.1.1.1:53",
|
||||
}),
|
||||
// dns01.AddRecursiveNameservers([]string{
|
||||
// "8.8.8.8:53",
|
||||
// "1.1.1.1:53",
|
||||
// }),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Reference in New Issue