From c6c34b5c442c5e080e79c10f80ed30c4c5b97d05 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Thu, 18 Apr 2024 16:15:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E7=AB=99=E5=85=A8=E5=B1=80=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=AD=E5=A2=9E=E5=8A=A0=E2=80=9C=E8=87=AA=E5=8A=A8?= =?UTF-8?q?gzip=E5=9B=9E=E6=BA=90=E2=80=9D=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/serverconfigs/global_server_config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/serverconfigs/global_server_config.go b/pkg/serverconfigs/global_server_config.go index 6fb1549..9d73097 100644 --- a/pkg/serverconfigs/global_server_config.go +++ b/pkg/serverconfigs/global_server_config.go @@ -59,6 +59,8 @@ type GlobalServerConfig struct { DomainAuditingIsOn bool `yaml:"domainAuditingIsOn" json:"domainAuditingIsOn"` // 域名是否需要审核 DomainAuditingPrompt string `yaml:"domainAuditingPrompt" json:"domainAuditingPrompt"` // 域名审核的提示 + + RequestOriginsWithEncodings bool `yaml:"requestOriginsWithEncodings" json:"requestOriginsWithEncodings"` // 使用使用压缩编码回源 } `yaml:"httpAll" json:"httpAll"` // HTTP统一配置 TCPAll struct {