nginx 2,upstream question

nanaya me at
Tue Sep 22 08:01:45 UTC 2015


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


upstream backend {
  server A;
  server B backup;

More information about the nginx mailing list