HTTP proxy directives

proxy_request_buffering directive (HTTP proxy)

HTTP, server, location contexts. Default on, since 1.7.11. Controls request-body buffering before proxying. Chunked client bodies may still be buffered depending on upstream HTTP version.

Formal Syntax & Structure

nginx syntaxnginx
proxy_request_buffering on | off;

Parameters & Attributes

NameTypeDescription
stateon | offRead request body before forwarding when enabled; protocol and chunked-body conditions may force buffering.

Working Example

Example Snippetnginx
proxy_request_buffering off;
Nginx Reference