How to use cookie for request/conection limiting

piavlo nginx-forum at nginx.us
Fri Oct 30 03:20:57 MSK 2009


Hi,
I'd like to limit connections and/or request based on cookies

Is it possible to do it with something like this:

limit_req_zone  $cookie_somename  zone=one:10m   rate=1r/s;

?

The only thing I've found is http://hg.mperillo.ath.cx/nginx/mod_parsed_vars/file/70df16b39e79/README
but this module has not been updated for 2 years.

 Thanks
 Alex

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,18135,18135#msg-18135






More information about the nginx mailing list