limit_req with IP whitelisting

LeMaitre nginx-forum at nginx.us
Thu Jul 7 02:39:39 MSD 2011


Thanks for your help Maxim and António. It works now.

I'll correct the ifevil tomorrow.

Just another question, can you please tell me which value should I use
for the rate and burst?

Actually, I use:
        limit_req_zone $binary_remote_addr zone=ratezone:20m
rate=30r/s;
        limit_req zone=ratezone burst=100 nodelay;

There's almost more then 20k domains behind it and a lot of connections

Thanks

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




More information about the nginx mailing list