Welcome! Log In Create A New Profile

Advanced

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

Valentin V. Bartenev
June 05, 2012 06:26PM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Joseph Cabezas June 05, 2012 04:32PM

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

Valentin V. Bartenev June 05, 2012 04:56PM

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

Joseph Cabezas June 05, 2012 06:20PM

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

Valentin V. Bartenev June 05, 2012 06:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 114
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready