HTTP directives

output_buffers directive (HTTP)

Set disk response read-buffer count and capacity, not proxy response buffers. Context: http, server, location. Documented default: 2 32k. Version: Introduction not established. OSS documentation; check target build. Default before 1.9.5 was 1 32k. Example is a partial http configuration fragment; use a disposable lab, not a production tuning prescription.

Formal Syntax & Structure

nginx syntaxnginx
output_buffers number size;

Parameters & Attributes

NameTypeDescription
numberpositive integerNumber of buffers.
sizebyte sizeCapacity of each buffer.

Working Example

Example Snippetnginx
output_buffers 2 48k;
Nginx Reference