update default req_limit values

This commit is contained in:
bunkerity 2020-10-02 14:13:24 +02:00
parent eba5f6280e
commit 2c12df3b96
2 changed files with 4 additions and 4 deletions

View File

@ -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`

View File

@ -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