mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
update default req_limit values
This commit is contained in:
parent
eba5f6280e
commit
2c12df3b96
2 changed files with 4 additions and 4 deletions
|
@ -320,12 +320,12 @@ More info rate limiting [here](https://www.nginx.com/blog/rate-limiting-nginx/).
|
|||
|
||||
`REQ_LIMIT_RATE`
|
||||
Values : *Xr/s* | *Xr/m*
|
||||
Default value : *10r/s*
|
||||
Default value : *20r/s*
|
||||
The rate limit to apply when `USE_REQ_LIMIT` is set to *yes*. Default is 10 requests per second.
|
||||
|
||||
`REQ_LIMIT_BURST`
|
||||
Values : *<any valid integer\>*
|
||||
Default value : *20*
|
||||
Default value : *40*
|
||||
The number of of requests to put in queue before rejecting requests.
|
||||
|
||||
`REQ_LIMIT_CACHE`
|
||||
|
|
|
@ -126,8 +126,8 @@ DNSBL_CACHE="${DNSBL_CACHE-10m}"
|
|||
DNSBL_RESOLVERS="${DNSBL_RESOLVERS-8.8.8.8 8.8.4.4}"
|
||||
DNSBL_LIST="${DNSBL_LIST-bl.blocklist.de problems.dnsbl.sorbs.net sbl.spamhaus.org xbl.spamhaus.org}"
|
||||
USE_LIMIT_REQ="${USE_LIMIT_REQ-yes}"
|
||||
LIMIT_REQ_RATE="${LIMIT_REQ_RATE-10r/s}"
|
||||
LIMIT_REQ_BURST="${LIMIT_REQ_BURST-20}"
|
||||
LIMIT_REQ_RATE="${LIMIT_REQ_RATE-20r/s}"
|
||||
LIMIT_REQ_BURST="${LIMIT_REQ_BURST-40}"
|
||||
LIMIT_REQ_CACHE="${LIMIT_REQ_CACHE-10m}"
|
||||
|
||||
# install additional modules if needed
|
||||
|
|
Loading…
Reference in a new issue