HTTP proxy directives
proxy_buffer_size directive (HTTP proxy)
HTTP, server, location contexts. Default one memory page (usually 4k or 8k); initial response buffer including headers. Oversized headers can make the response invalid.
Formal Syntax & Structure
nginx syntaxnginx
proxy_buffer_size size;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| size | byte size | Buffer for initial origin response, including headers. |
Working Example
Example Snippetnginx
proxy_buffer_size 8k;