relay: add direct routing for tunnel

This commit is contained in:
ginuerzh
2023-02-06 21:16:56 +08:00
parent 02a5f4dde4
commit 6f9f5ce6ab
9 changed files with 58 additions and 36 deletions

View File

@ -333,7 +333,7 @@ func ParseIngress(cfg *config.IngressConfig) ingress.Ingress {
}
rules = append(rules, xingress.Rule{
Host: rule.Hostname,
Hostname: rule.Hostname,
Endpoint: rule.Endpoint,
})
}