集群设置--网站设置增加“服务器旗标”设置

This commit is contained in:
GoEdgeLab
2023-07-12 17:39:04 +08:00
parent 0cb5234776
commit 5176a9ea41
2 changed files with 11 additions and 2 deletions

View File

@@ -81,10 +81,11 @@ func (this *IndexAction) RunPost(params struct {
HttpAllDefaultDomain string
HttpAllNodeIPPageHTML string
HttpAllNodeIPShowPage bool
HttpAllForceLnRequest bool
HttpAllServerName string
HttpAllSupportsLowVersionHTTP bool
HttpAllMatchCertFromAllServers bool
HttpAllForceLnRequest bool
HttpAccessLogIsOn bool
HttpAccessLogEnableRequestHeaders bool
@@ -146,6 +147,7 @@ func (this *IndexAction) RunPost(params struct {
config.HTTPAll.NodeIPPageHTML = params.HttpAllNodeIPPageHTML
// HTTP All
config.HTTPAll.ServerName = params.HttpAllServerName
config.HTTPAll.SupportsLowVersionHTTP = params.HttpAllSupportsLowVersionHTTP
config.HTTPAll.MatchCertFromAllServers = params.HttpAllMatchCertFromAllServers
config.HTTPAll.ForceLnRequest = params.HttpAllForceLnRequest