Welcome! Log In Create A New Profile

Advanced

Re: limit_conn_zone applied to Proxy_Pass (outgoing requests)

Valentin V. Bartenev
July 04, 2014 05:20AM
On Thursday 03 July 2014 21:51:44 aflexzor wrote:
> Hello!
>
> I have an nginx reverse proxy it has a series of filters against DDoS
> attacks.
>
> As a last resort I need to make sure that I NEVER send more than x
> concurrent requests to the backend server (Proxy_pass)
>
> Is it possible to apply limit_conn_zone for outgoing requests? If so could
> i have an example? Thanks.
>

Look at the "max_conn" parameter of the "server" directive
in the "upstream" block:
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#server

Note that it's part of the commercial version of nginx.

wbr, Valentin V. Bartenev

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

limit_conn_zone applied to Proxy_Pass (outgoing requests)

aflexzor July 03, 2014 11:52PM

Re: limit_conn_zone applied to Proxy_Pass (outgoing requests)

Robert Paprocki July 04, 2014 03:12AM

Re: limit_conn_zone applied to Proxy_Pass (outgoing requests)

Valentin V. Bartenev July 04, 2014 05:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
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