Anyway to limit amount of requests to no more then 20 requests per hour for each file?

Valentin V. Bartenev ne at
Tue Jun 5 22:24:41 UTC 2012

On Wednesday 06 June 2012 02:18:46 Joseph Cabezas wrote:
> Iam thinking I need some other line to actually apply the limit such as
> this?
> location / {  limit_req   zone=one;  proxy_pass http://backend1; }
> Or something like this?

Yes, that's right. You also need limit_req directive in the place where do you 
want to apply the limit.

 wbr, Valentin V. Bartenev

More information about the nginx mailing list