mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-09 08:55:19 +08:00
路由规则增加专属域名设置
This commit is contained in:
@@ -20,6 +20,7 @@ type HTTPLocationConfig struct {
|
||||
IsBreak bool `yaml:"isBreak" json:"isBreak"` // 终止向下解析
|
||||
Children []*HTTPLocationConfig `yaml:"children" json:"children"` // 子规则
|
||||
Conds *shared.HTTPRequestCondsConfig `yaml:"conds" json:"conds"` // 匹配条件
|
||||
Domains []string `yaml:"domains" json:"domains"` // 所属域名
|
||||
|
||||
patternType HTTPLocationPatternType // 规则类型:LocationPattern*
|
||||
prefix string // 前缀
|
||||
|
||||
Reference in New Issue
Block a user