Stream proxy directives
proxy_pass (stream)
server context; sets a stream destination, not an HTTP URL.
Formal Syntax & Structure
nginx syntaxnginx
proxy_pass address;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| destination | host:port | unix:path | upstream name | expression | Select transport destination, without HTTP scheme or URI. Variable destination may require configured resolver. |
Working Example
Example Snippetnginx
proxy_pass tcp_echo;