Welcome! Log In Create A New Profile

Advanced

module proxy and Upstream question

Aleksandar Lazic
July 15, 2010 05:36AM
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

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

module proxy and Upstream question

Aleksandar Lazic July 15, 2010 05:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready