mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-07 07:10:25 +08:00
域名跳转增加忽略跳转前端口选项
This commit is contained in:
@@ -41,6 +41,7 @@ type HTTPHostRedirectConfig struct {
|
|||||||
// 域名跳转
|
// 域名跳转
|
||||||
DomainsAll bool `yaml:"domainAll" json:"domainsAll"` // 所有域名都跳转
|
DomainsAll bool `yaml:"domainAll" json:"domainsAll"` // 所有域名都跳转
|
||||||
DomainsBefore []string `yaml:"domainsBefore" json:"domainsBefore"` // 指定跳转之前的域名
|
DomainsBefore []string `yaml:"domainsBefore" json:"domainsBefore"` // 指定跳转之前的域名
|
||||||
|
DomainBeforeIgnorePorts bool `yaml:"domainBeforeIgnorePorts" json:"domainBeforeIgnorePorts"` // 忽略跳转前端口
|
||||||
DomainAfter string `yaml:"domainAfter" json:"domainAfter"` // 跳转之后的域名
|
DomainAfter string `yaml:"domainAfter" json:"domainAfter"` // 跳转之后的域名
|
||||||
DomainAfterScheme string `yaml:"domainAfterScheme" json:"domainAfterScheme"` // 跳转之后的协议
|
DomainAfterScheme string `yaml:"domainAfterScheme" json:"domainAfterScheme"` // 跳转之后的协议
|
||||||
//DomainRegexp bool `yaml:"domainRegexp" json:"domainRegexp"` // 使用正则匹配域名 TODO 暂时不实现
|
//DomainRegexp bool `yaml:"domainRegexp" json:"domainRegexp"` // 使用正则匹配域名 TODO 暂时不实现
|
||||||
|
|||||||
Reference in New Issue
Block a user