HTTP directives

large_client_header_buffers directive (HTTP)

Provide overflow buffers for header parsing. A single oversized line or field still fails even when total capacity is large. Context: http, server. Documented default: 4 8k. Version: Introduction not established. OSS documentation; check target build. Default virtual server may govern parsing. Budget memory and validate protocol-specific limits. Example is a partial http configuration fragment; use a disposable lab, not a production tuning prescription.

Formal Syntax & Structure

nginx syntaxnginx
large_client_header_buffers number size;

Parameters & Attributes

NameTypeDescription
numberpositive integerMaximum number of large buffers.
sizebyte sizeCapacity of each buffer.

Working Example

Example Snippetnginx
large_client_header_buffers 4 16k;
Nginx Reference