Welcome! Log In Create A New Profile

Advanced

upstream member liveness

April 11, 2016 07:01AM
What is the scope of the upstream member liveness: is it per upstream group, or per vhost ?

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;
}

And on both 192.168.0.1 and 192.168.0.2 the following configs:

server {
server_name A;

root /foo/bar1;

location / {
fastcgi_pass 127.0.0.1:9000;
}
}

server {
server_name B;

root /foo/bar1;

location / {
fastcgi_pass 127.0.0.1:9000;
}
}


server 192.168.0.1 returns 500 for vhost A, will it be considered dead for vhost B (and I supposed it will be) ?

Thanks.
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: 138
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