HTTP limit conn directives
limit_conn_status directive
http, server or location; chooses rejection status for this limit. Default 503. Introduced in 1.3.15.
Formal Syntax & Structure
nginx syntaxnginx
limit_conn_status code;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| code | HTTP status integer | Response status for rejected requests; default 503. |
Working Example
Example Snippetnginx
limit_conn_status 429;