mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 05:00:24 +08:00 
			
		
		
		
	网站全局设置中增加“XFF中最多地址数”选项
This commit is contained in:
		@@ -56,6 +56,7 @@ type GlobalServerConfig struct {
 | 
			
		||||
		LnRequestSchedulingMethod LnRequestSchedulingMethod `yaml:"lnRequestSchedulingMethod" json:"lnRequestSchedulingMethod"` // Ln请求调度方法
 | 
			
		||||
		ServerName                string                    `yaml:"serverName" json:"serverName"`                               // Server名称
 | 
			
		||||
		EnableServerAddrVariable  bool                      `yaml:"enableServerAddrVariable" json:"enableServerAddrVariable"`   // 是否支持${serverAddr}变量
 | 
			
		||||
		XFFMaxAddresses           int                       `yaml:"xffMaxAddresses" json:"xffMaxAddresses"`                     // XFF中最多的地址数
 | 
			
		||||
 | 
			
		||||
		DomainAuditingIsOn   bool   `yaml:"domainAuditingIsOn" json:"domainAuditingIsOn"`     // 域名是否需要审核
 | 
			
		||||
		DomainAuditingPrompt string `yaml:"domainAuditingPrompt" json:"domainAuditingPrompt"` // 域名审核的提示
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user