upstream member liveness
Валентин Бартенев
vbart at nginx.com
Mon Apr 11 11:09:04 UTC 2016
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
More information about the nginx
mailing list