Upstream Server "backup" & "down" tag

Alexander Kunz akunz at ntmedia.de
Thu Jan 28 19:12:55 MSK 2010


Hello,

a short question about the "backup" and "down" tag in my server section. 
When i mark
all servers with "down" tag the backup server does not respond, but when 
the server is
really down the backup server works. Is it not possible to mark all 
upstream servers as
down? I would be a nice feature while updating the backends, so i put a 
messe an my
backup server... The following setup does not work

upstream web1 {
  server 10.0.0.10:80 down;
  server 10.0.0.10:81 down;
  server unix:/tmp/nginx1.sock backup;
}

Thanks for your help.



More information about the nginx mailing list