HTTP directives

proxy_socket_sndbuf directive (HTTP)

Request a TCP socket send 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_sndbuf size;

Parameters & Attributes

NameTypeDescription
sizebyte sizeSize value; use documented suffixes and platform limits.

Working Example

Example Snippetnginx
proxy_socket_sndbuf 32k;
Nginx Reference