From 65120a7e977cdbcd059c9a6abba070d8f9a1ff9b Mon Sep 17 00:00:00 2001 From: thelittlefireman Date: Sat, 2 Jan 2021 14:25:34 +0100 Subject: [PATCH] Add USE_CONN_LIMIT info to Readme.md and fix small typo --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index db1e3ae..10bc665 100644 --- a/README.md +++ b/README.md @@ -1085,7 +1085,7 @@ The rate limit to apply when `USE_LIMIT_REQ` is set to *yes*. Default is 10 requ Values : ** Default value : *40* Context : *global*, *multisite* -The number of of requests to put in queue before rejecting requests. +The number of requests to put in queue before rejecting requests. `LIMIT_REQ_CACHE` Values : *Xm* | *Xk* @@ -1093,6 +1093,27 @@ Default value : *10m* Context : *global* The size of the cache to store information about request limiting. +### Connections limiting + +`USE_LIMIT_CONN` +Values : *yes* | *no* +Default value : *yes* +Context : *global*, *multisite* +If set to yes, the number of connections made by an ip will be limited during a period of time. (ie. Very small/weak ddos protection) +More info connections limiting [here](http://nginx.org/en/docs/http/ngx_http_limit_conn_module.html). + +`LIMIT_CONN_MAX` +Values : ** +Default value : *40* +Context : *global*, *multisite* +The maximum number of connections per ip to put in queue before rejecting requests. + +`LIMIT_CONN_CACHE` +Values : *Xm* | *Xk* +Default value : *10m* +Context : *global* +The size of the cache to store information about connection limiting. + ### Countries `BLACKLIST_COUNTRY`