diff --git a/internal/web/actions/default/clusters/cluster/settings/global-server-config/index.go b/internal/web/actions/default/clusters/cluster/settings/global-server-config/index.go index 8195c93d..4b70695f 100644 --- a/internal/web/actions/default/clusters/cluster/settings/global-server-config/index.go +++ b/internal/web/actions/default/clusters/cluster/settings/global-server-config/index.go @@ -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 diff --git a/web/views/@default/clusters/cluster/settings/global-server-config/index.html b/web/views/@default/clusters/cluster/settings/global-server-config/index.html index 003344a0..eadb5d64 100644 --- a/web/views/@default/clusters/cluster/settings/global-server-config/index.html +++ b/web/views/@default/clusters/cluster/settings/global-server-config/index.html @@ -147,7 +147,14 @@
| 支持低版本HTTP | +服务器旗标 | +
+                    
+                     服务器旗标会以  | 
+            
| 支持低版本HTTP | 
                      选中后,表示支持HTTP/1.0、HTTP/0.9等低于HTTP/1.1版本的HTTP协议。低版本HTTP协议不支持分段传输内容,且无法保持连接,对系统性能有严重的负面影响。建议只有在你的用户正在使用非常老旧的设备时才启用此选项。  |