# Module proxy and Upstream question

**URL:** <https://www.ruby-forum.com/t/module-proxy-and-upstream-question/191615>\
**Category:** NGINX\
**Created:** [July 15, 2010, 11:31am UTC](https://www.ruby-forum.com/t/module-proxy-and-upstream-question/191615 "2010-07-15T11:31:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aleksandar\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8edcca/32.png) [@Aleksandar\_L](https://www.ruby-forum.com/u/Aleksandar_L)\
**Post date:** [July 15, 2010, 11:31am UTC](https://www.ruby-forum.com/t/module-proxy-and-upstream-question/191615/1 "2010-07-15T11:31:13Z")

</div>

Dear List,

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

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  
config.

upstream backend1 {  
server 172.16.2.1 weight=10 max\_fails=3 fail\_timeout=30s;  
}

If the server 172.16.2.1 is not reachable then the request is gone,  
right?

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

BR

Aleks
