HTTP directives

aio_write directive (HTTP)

Opt into threaded writes of temporary proxied response files; useful to evaluate disk spill latency. Context: http, server, location. Documented default: off. Version: 1.9.13. OSS documentation; check target build. Requires aio threads; not a general asynchronous write switch. Example is a partial http configuration fragment; use a disposable lab, not a production tuning prescription.

Formal Syntax & Structure

nginx syntaxnginx
aio_write on | off;

Parameters & Attributes

NameTypeDescription
stateon | offSelect whether this behavior is enabled.

Working Example

Example Snippetnginx
aio_write on;
Nginx Reference