Re: Limit IP req/s excl bots

2013-09-18 Thread SplitIce
My bad I missed that sentence in the docco. Thanks, Ill be using map. That blog lead me down the wrong track. On Wed, Sep 18, 2013 at 11:26 PM, Maxim Dounin wrote: > Hello! > > On Wed, Sep 18, 2013 at 11:15:54PM +0930, SplitIce wrote: > > > I also think I found that 0 length keys wont be store

Re: Limit IP req/s excl bots

2013-09-18 Thread Maxim Dounin
Hello! On Wed, Sep 18, 2013 at 11:15:54PM +0930, SplitIce wrote: > I also think I found that 0 length keys wont be stored. This isn't in the > documentation but if I understand the code correctly they aren't, is this > correct? It's in the documentation, see http://nginx.org/r/limit_req_zone: :

Re: Limit IP req/s excl bots

2013-09-18 Thread Valentin V. Bartenev
On Wednesday 18 September 2013 17:45:54 SplitIce wrote: > I also think I found that 0 length keys wont be stored. This isn't in the > documentation but if I understand the code correctly they aren't, is this > correct? [...] Just a quote from the documentation (http://nginx.org/r/limit_req_zone):

Re: Limit IP req/s excl bots

2013-09-18 Thread SplitIce
I also think I found that 0 length keys wont be stored. This isn't in the documentation but if I understand the code correctly they aren't, is this correct? I could use a map then and get considerable flexibility. On Wed, Sep 18, 2013 at 11:06 PM, SplitIce wrote: > Does anyone know if there is

Limit IP req/s excl bots

2013-09-18 Thread SplitIce
Does anyone know if there is any truth to this blog post: http://gadelkareem.com/2012/03/25/limit-requests-per-ip-on-nginx-using-httplimitzonemodule-and-httplimitreqmodule-except-whitelist/ And if so where about in the code its implemented? I was trying to find out if its possible to use a map to