Upstream Server "backup" & "down" tag

Maxim Dounin mdounin at mdounin.ru
Thu Jan 28 19:43:45 MSK 2010


Hello!

On Thu, Jan 28, 2010 at 05:12:55PM +0100, Alexander Kunz wrote:

> 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;
> }

See this thread:

http://nginx.org/pipermail/nginx/2010-January/018327.html

Maxim Dounin



More information about the nginx mailing list