mirror of
https://github.com/go-gost/gost.git
synced 2026-10-08 20:15:46 +00:00
Verify node-level routing matchers via a two-proxy relay: a forward proxy whose only chain node carries matcher Host(`tcp-echo`) is only eligible for a matching Host, so the request is relayed upstream to the echo server; a non-matching Host is excluded (no eligible node) and never reaches the echo server. Mirrors the resolver/ingress e2e pattern.
10 lines
221 B
YAML
10 lines
221 B
YAML
# Upstream relay target for the routing matcher test: a plain forward proxy
|
|
# that reaches the echo server directly.
|
|
services:
|
|
- name: proxy
|
|
addr: ":8081"
|
|
handler:
|
|
type: http
|
|
listener:
|
|
type: tcp
|