HTTP limit req directives
limit_req_dry_run directive
http, server, location; default off; since 1.17.1. Accounts for excess without enforcement.
Formal Syntax & Structure
nginx syntaxnginx
limit_req_dry_run on | off;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| state | on | off | Observe excess without delaying or rejecting; shared counters still update. |
Working Example
Example Snippetnginx
limit_req_dry_run on;