HTTP directives
proxy_limit_rate directive (HTTP)
Throttle origin response reads for each buffered proxied request. This is separate from throttling downstream writes. Context: http, server, location. Documented default: 0. Version: 1.7.7; variables 1.27.0. OSS documentation; verify build and version. Requires response buffering; aggregate throughput depends on concurrency. Partial configuration for an isolated synthetic lab; not a production policy.
Formal Syntax & Structure
nginx syntaxnginx
proxy_limit_rate rate;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| rate | bytes per second or expression | Zero removes the limit; variables supported since 1.27.0. |
Working Example
Example Snippetnginx
proxy_limit_rate 64k;