网站全局设置中增加“自动匹配证书”选项

This commit is contained in:
GoEdgeLab
2023-05-24 17:20:28 +08:00
parent bf8a07519f
commit b591301a93
2 changed files with 10 additions and 1 deletions

View File

@@ -78,7 +78,8 @@ func (this *IndexAction) RunPost(params struct {
HttpAllAllowNodeIP bool
HttpAllDefaultDomain string
HttpAllSupportsLowVersionHTTP bool
HttpAllSupportsLowVersionHTTP bool
HttpAllMatchCertFromAllServers bool
HttpAccessLogEnableRequestHeaders bool
HttpAccessLogEnableResponseHeaders bool
@@ -138,6 +139,7 @@ func (this *IndexAction) RunPost(params struct {
// HTTP All
config.HTTPAll.SupportsLowVersionHTTP = params.HttpAllSupportsLowVersionHTTP
config.HTTPAll.MatchCertFromAllServers = params.HttpAllMatchCertFromAllServers
// 访问日志
config.HTTPAccessLog.EnableRequestHeaders = params.HttpAccessLogEnableRequestHeaders