Regarding support of server backup parameter

Pankaj Kaushik dev.panky2014 at gmail.com
Sun Aug 10 17:10:00 UTC 2014


Hi,

I am getting below error while loading nginx configuration file.

2014/08/10 10:06:33 [emerg] 816#0: invalid parameter "backup" in
/etc/nginx/nginx.conf:39

Below is the configuration file :-

 upstream backend {
                hash $key2 consistent;
                server 10.0.0.22:8080;
                server 10.0.0.23:8080 max_fails=0;
                server 10.0.0.24:8080;
                server 10.0.0.25:8080;
                server 10.0.0.26:8080  backup;
        }


*I am using nginx version 1.7.4.*

Can anybody help me on this?

Thanks,
Panky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140810/0a587654/attachment.html>


More information about the nginx mailing list