limit_conn_zone applied to Proxy_Pass (outgoing requests)
Valentin V. Bartenev
vbart at nginx.com
Fri Jul 4 09:19:41 UTC 2014
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
More information about the nginx
mailing list