Add limit-request-status-code option (#2001)
* Add support for limit_req_status * Add documentation * Fix comment
This commit is contained in:
parent
951a704cec
commit
2f700a9ad5
3 changed files with 14 additions and 1 deletions
|
|
@ -127,6 +127,7 @@ The following table shows a configuration option's name, type, and the default v
|
|||
|[limit‑rate‑after](#limit-rate-after)|int|0|
|
||||
|[http‑redirect‑code](#http-redirect-code)|int|308|
|
||||
|[proxy‑buffering](#proxy-buffering)|string|"off"|
|
||||
|[limit‑request‑status‑code](#limit-request-status-code)|int|503|
|
||||
|
||||
## add-headers
|
||||
|
||||
|
|
@ -702,4 +703,8 @@ Why the default code is 308?
|
|||
|
||||
## proxy-buffering
|
||||
|
||||
Enables or disables [buffering of responses from the proxied server](http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering).
|
||||
Enables or disables [buffering of responses from the proxied server](http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering).
|
||||
|
||||
## limit-request-status-code
|
||||
|
||||
Sets the [status code to return in response to rejected requests](http://nginx.org/en/docs/http/ngx_http_limit_req_module.html#limit_req_status).Default: 503
|
||||
Loading…
Add table
Add a link
Reference in a new issue