Welcome! Log In Create A New Profile

Advanced

Re: nginx 2,upstream question

September 22, 2015 04:08AM
nanaya Wrote:
-------------------------------------------------------
> Hi
>
> On Tue, Sep 22, 2015, at 04:59 PM, vps4 wrote:
> > i have 2 backend server A & B, i want the upstream only works with
> A,
> > when A
> > die then works with B, if A not die , only works with A
> > how can i do
> >
>
> this?
>
> upstream backend {
> server A;
> server B backup;
> }
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

thanks. the option backup do what i want.
but it seems when A busy, it will works with B?
Subject Author Posted

nginx 2,upstream question

vps4 September 22, 2015 03:59AM

Re: nginx 2,upstream question

nanaya September 22, 2015 04:04AM

Re: nginx 2,upstream question

vps4 September 22, 2015 04:05AM

Re: nginx 2,upstream question

vps4 September 22, 2015 04:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 128
Record Number of Users: 8 on December 15, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready