mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-22 10:40:25 +08:00
WAF规则集中增加“允许搜索引擎”选项,可以快速允许搜索引擎访问
This commit is contained in:
@@ -22,6 +22,7 @@ type HTTPFirewallRuleSet struct {
|
|||||||
RuleRefs []*HTTPFirewallRuleRef `yaml:"ruleRefs" json:"ruleRefs"`
|
RuleRefs []*HTTPFirewallRuleRef `yaml:"ruleRefs" json:"ruleRefs"`
|
||||||
Rules []*HTTPFirewallRule `yaml:"rules" json:"rules"`
|
Rules []*HTTPFirewallRule `yaml:"rules" json:"rules"`
|
||||||
IgnoreLocal bool `yaml:"ignoreLocal" json:"ignoreLocal"`
|
IgnoreLocal bool `yaml:"ignoreLocal" json:"ignoreLocal"`
|
||||||
|
IgnoreSearchEngine bool `yaml:"ignoreSearchEngine" json:"ignoreSearchEngine"`
|
||||||
|
|
||||||
Actions []*HTTPFirewallActionConfig `yaml:"actions" json:"actions"`
|
Actions []*HTTPFirewallActionConfig `yaml:"actions" json:"actions"`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user