HTTP directives
proxy_bind directive (HTTP)
Choose the source endpoint for connections initiated toward the origin. Context: http, server, location. Documented default: system-selected local endpoint. Version: 0.8.22; off/variables 1.3.12; optional port 1.11.2. OSS documentation; verify build and version. Transparent mode since 1.11.0 is not part of this fixture; avoid privilege changes. Partial configuration for an isolated synthetic lab; not a production policy.
Formal Syntax & Structure
nginx syntaxnginx
proxy_bind address [transparent] | off;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| address | local IP[:port] | expression | off | Use off to cancel inherited binding. |
| transparent | literal transparent | Optional nonlocal source mode; requires authorized OS routing and privileges. |
Working Example
Example Snippetnginx
proxy_bind 127.0.0.1;