From 4c7de6bdc2f8d6277dff64dcc089be9544f32018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Fri, 10 Nov 2023 11:05:21 +0800 Subject: [PATCH] =?UTF-8?q?URL=E8=B7=B3=E8=BD=AC=E4=B8=AD=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=BE=8B=E5=A4=96=E5=9F=9F=E5=90=8D=E5=92=8C=E4=BB=85?= =?UTF-8?q?=E9=99=90=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/serverconfigs/http_host_redirect_config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/serverconfigs/http_host_redirect_config.go b/pkg/serverconfigs/http_host_redirect_config.go index e8c1733..934c4ef 100644 --- a/pkg/serverconfigs/http_host_redirect_config.go +++ b/pkg/serverconfigs/http_host_redirect_config.go @@ -54,6 +54,9 @@ type HTTPHostRedirectConfig struct { PortAfter int `yaml:"port" json:"portAfter"` // 跳转之后的端口 PortAfterScheme string `yaml:"portAfterScheme" json:"portAfterScheme"` // 跳转之后的协议 + OnlyDomains []string `yaml:"onlyDomains" json:"onlyDomains"` // 限制域名 + ExceptDomains []string `yaml:"exceptDomains" json:"exceptDomains"` // 排除域名 + beforePortRanges [][2]int // [[from, to], {from2, to2}, ...] beforeHasQuery bool }