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 e44354d6..aff4bb0e 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 @@ -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 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 b657983a..d827f528 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 @@ -131,6 +131,13 @@

选中后,表示支持HTTP/1.0、HTTP/0.9等低于HTTP/1.1版本的HTTP协议。低版本HTTP协议不支持分段传输内容,且无法保持连接,对系统性能有严重的负面影响。建议只有在你的用户正在使用非常老旧的设备时才启用此选项。

+ + 自动匹配证书 + + +

选中后,表示找不到证书时自动查找其他网站设置的证书。此功能仅仅为了兼容以往系统版本,可能会导致用户访问的网站混乱,所以请不要轻易启用。

+ +