Commit 2c12df3b authored by bunkerity's avatar bunkerity
Browse files

update default req_limit values

parent eba5f628
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment