Welcome! Log In Create A New Profile

Advanced

Re: upstream member liveness

Валентин Бартенев
April 11, 2016 07:10AM
On Monday 11 April 2016 07:01:01 drookie wrote:
> What is the scope of the upstream member liveness: is it per upstream group,
> or per vhost ?
>

It's per upstream group.


> If the question is unclear, consider I have 3 nginx - one balancer and two
> backends, and the following config part on the nginx balancer:
>
>
> upstream backends {
> server 192.168.0.1;
> server 192.168.0.2;
> }
>
[..]
>
> server 192.168.0.1 returns 500 for vhost A, will it be considered dead for
> vhost B (and I supposed it will be) ?
>
[..]

It won't be cosidered dead for any vhost, unless you have "http_500" in your
"fastcgi_next_upstream" directive.

http://nginx.org/r/fastcgi_next_upstream

wbr, Valentin V. Bartenev

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

upstream member liveness

drookie April 11, 2016 07:01AM

Re: upstream member liveness

Валентин Бартенев April 11, 2016 07:10AM

Re: upstream member liveness

drookie April 11, 2016 07:20AM

Re: upstream member liveness

Valentin V. Bartenev April 11, 2016 09:52AM

Re: upstream member liveness

drookie April 13, 2016 12:47AM

Re: upstream member liveness

Francis Daly April 13, 2016 03:38AM

Re: upstream member liveness

Валентин Бартенев April 13, 2016 04:06AM

Re: upstream member liveness

B.R. April 13, 2016 06:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 298
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready