Module proxy and Upstream question

Dear List,

we use the upstream module to proxy requests to our backend, as much
other people :wink:

I want to check if I have understand the

rrp->peers->single in src/http/ngx_http_upstream_round_robin.c

flag in the correct manner.

At the moment we have only one upstream and we have te following in our

upstream backend1 {
server weight=10 max_fails=3 fail_timeout=30s;

If the server is not reachable then the request is gone,

A possible solution is to add the same server several times, right?
Is there another, better solution to resend the request to the backend?



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