Upstream Server "backup" & "down" tag

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


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 down;
  server down;
  server unix:/tmp/nginx1.sock backup;

Thanks for your help.

More information about the nginx mailing list