multiple limit_conn per connection

Weibin Yao nbubingo at
Thu Oct 28 06:48:38 MSD 2010

bryndole at 2010-10-28 9:49 wrote:
> I did some more research, ran a few experiments, and even looked at the
> code.
> What I described above is not possible. The limit_conn method fires
> exactly once for a connection, even if it goes to a "@retry" location.
> If you have several internal redirects ( rewrite /foo /bar last; )  only
> the last limit_conn is fired.
Maybe you can also use the limit_request. This module is similar with 
the limit_conn module. Both the two module are limited to be used only 
once in one request.
> Posted at Nginx Forum:,144501,145154#msg-145154
> _______________________________________________
> nginx mailing list
> nginx at

Weibin Yao

More information about the nginx mailing list