修复SSL挑战方式配置迁移
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-09-06 08:58:08 +08:00
1 parent b2a91e1058
commit 9404d7f9c8
5 files changed
+20 -1

No files matched your search

+5
View File
@@ -121,6 +121,11 @@ func (c *Config) SetSetupPort(setupPort int) {
const DBTypeMySQL = "mysql"
const DBTypeSQLite = "sqlite"
const DBTypePostgres = "postgres"
const (
SSLChallengeHTTP = "http"
SSLChallengeDNS = "dns"
)
const SSLTypeAutoHTTP = "0" //自动生成证书
const SSLTypeAutoDNS = "2" //自动生成证书,DNS api验证
const SSLTypeUser = "1" //用户上传证书