HTTP directives
limit_rate directive (HTTP)
Limit downstream response throughput per request, in bytes per second. Parallel requests can exceed the aggregate per-request rate. Context: http, server, location, if in location. Documented default: 0. Version: Introduction not established. OSS documentation; check target build. Zero disables; variable arguments since 1.17.0. Not a request-rate limit. Example is a partial http configuration fragment; use a disposable lab, not a production tuning prescription.
Formal Syntax & Structure
nginx syntaxnginx
limit_rate rate;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| rate | byte rate | Value for limit rate. |
Working Example
Example Snippetnginx
limit_rate 192k;