集群设置--网站设置中增加“自动gzip回源”选项

This commit is contained in:
GoEdgeLab
2024-04-18 16:15:40 +08:00
parent 752eb1f9ba
commit 27f522fae4
3 changed files with 16 additions and 3 deletions

View File

@@ -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