HTTP proxy directives
proxy_buffering directive (HTTP proxy)
HTTP, server, location contexts. Default on; response buffering separates upstream reading from downstream sending. The backend can override with X-Accel-Buffering unless ignored.
Formal Syntax & Structure
nginx syntaxnginx
proxy_buffering on | off;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| state | on | off | Buffer upstream responses; origin can change policy using X-Accel-Buffering unless ignored. |
Working Example
Example Snippetnginx
proxy_buffering off;