subrequest failover
Maxim Dounin
mdounin at mdounin.ru
Wed Sep 15 06:24:56 MSD 2010
Hello!
On Tue, Sep 14, 2010 at 06:56:38PM -0700, James Lyons wrote:
> Thanks so much for help so far -- with what nginx version is "backup"
> introduced?
0.6.7+
See here:
http://nginx.org/en/CHANGES
> I have:
> 378 upstream iks {
> 379 server 127.0.0.1:5397;
> 380 server www.testfailover.net:5397 backup;
> 381 }
> ------------
> on startup I see:
> 2010/09/14 18:46:46 [emerg] 17835#0: invalid parameter "backup" in
> /box/etc/nginx/nginx.conf.iksdev:380
>
> I know we are using 0.6.39 -- which is old, so i suspect this is the
> problem -- but my job has been reluctant to upgrade so far. Is there
> a workaround?
Please make sure you define upstream before you try to use it in
any proxy_pass.
Maxim Dounin
p.s. Please do not top-post. Thank you.
More information about the nginx
mailing list