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 faaa4dd2..74a55a24 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 @@ -109,6 +109,7 @@ func (this *IndexAction) RunPost(params struct { HttpAllNodeIPPageHTML string HttpAllNodeIPShowPage bool HttpAllEnableServerAddrVariable bool + HttpAllRequestOriginsWithEncodings bool HttpAllDomainAuditingIsOn bool HttpAllDomainAuditingPrompt string @@ -217,6 +218,7 @@ func (this *IndexAction) RunPost(params struct { config.HTTPAll.ForceLnRequest = params.HttpAllForceLnRequest config.HTTPAll.LnRequestSchedulingMethod = params.HttpAllLnRequestSchedulingMethod config.HTTPAll.EnableServerAddrVariable = params.HttpAllEnableServerAddrVariable + config.HTTPAll.RequestOriginsWithEncodings = params.HttpAllRequestOriginsWithEncodings // 访问日志 config.HTTPAccessLog.IsOn = params.HttpAccessLogIsOn 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 b09fe1a2..c68309b5 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 @@ -4,7 +4,7 @@