HTTP core directives

tcp_nopush directive

HTTP/server/location; default off. Controls TCP_NOPUSH or TCP_CORK with sendfile.

Formal Syntax & Structure

nginx syntaxnginx
tcp_nopush on | off;

Parameters & Attributes

NameTypeDescription
stateon | offControl packet batching in conjunction with sendfile.

Working Example

Example Snippetnginx
tcp_nopush on;
Nginx Reference