Hello!
On Tue, Sep 14, 2010 at 06:02:20PM -0700, James Lyons wrote:
> so lets say I have a config that looks like:
> upstream somename {
> server www.somename1.net:80;
> server www.somename2.net:80;
> server www.somename3.net:80;
> }
>
> location /data/ {
> ...
> proxy_pass http://somename/data/;
> }
> -------------
> These names are processed as round robin I assume, but if a connection
> to one fails -- it won't retry elsewhere.
It will.
http://wiki.nginx.org/NginxHttpProxyModule#proxy_next_upstream
> To get that, i need to specify backup like in the example below.
Backup servers are only tried if all normal servers were detected
to be down.
> But can I similarly specify multiple backups and have those load balanced
> as well?
Yes.
Maxim Dounin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx