xin

stream

Contains TCP and UDP proxy servers.

Syntaxstream { ... }
Contextsmain

Behavior

Stream proxy_pass takes an address or upstream name, without an HTTP scheme or URI.

Example

stream { server { listen 9000; proxy_pass 127.0.0.1:9001; } }