Limit_conn_zone applied to Proxy_Pass (outgoing requests)

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.

Alex

Any reason this needs to be applied specifically to /outgoing/
connections? Is the default behavior applied to the proxy not
sufficient?

On Thursday 03 July 2014 21:51:44 aflexzor wrote:

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs