HTTP directives
proxy_socket_rcvbuf directive (HTTP)
Request a TCP socket receive buffer size for origin connections. Zero restores OS selection rather than inheriting an override. Context: http, server, location. Documented default: OS setting. Version: 1.31.3. OSS documentation; verify build and version. Partial configuration for an isolated synthetic lab; not a production policy.
Formal Syntax & Structure
nginx syntaxnginx
proxy_socket_rcvbuf size;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| size | byte size | Size value; use documented suffixes and platform limits. |
Working Example
Example Snippetnginx
proxy_socket_rcvbuf 32k;