blob: 3fa0568a6bb8c539557a5d6da1cd100d5a28d23d [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001Long: connect-to
2Arg: <HOST1:PORT1:HOST2:PORT2>
3Help: Connect to host
4Added: 7.49.0
5See-also: resolve header
6---
7
8For a request to the given HOST:PORT pair, connect to
9CONNECT-TO-HOST:CONNECT-TO-PORT instead. This option is suitable to direct
10requests at a specific server, e.g. at a specific cluster node in a cluster of
11servers. This option is only used to establish the network connection. It
12does NOT affect the hostname/port that is used for TLS/SSL (e.g. SNI,
13certificate verification) or for the application protocols. "host" and "port"
14may be the empty string, meaning "any host/port". "connect-to-host" and
15"connect-to-port" may also be the empty string, meaning "use the request's
16original host/port".
17
18This option can be used many times to add many connect rules.