Regarding proxy_next_upstream parameter

2014-08-10 Thread Pankaj Kaushik
Hi, I am trying to do failover as per below configuration :- upstream backend { hash $key2 consistent; server 10.0.0.22:8080; server 10.0.0.23:8080; server 10.0.0.24:8080; server 10.0.0.25:8080; server

Regarding support of server backup parameter

2014-08-10 Thread Pankaj Kaushik
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;

Re: Regarding ERROR: XmlParseFailure

2014-08-09 Thread Pankaj Kaushik
Hey Francis, > Your request is for "/". The only location block you have is a prefix > match for the four-character string "$uri", which does not match > your request, so the request is processed by the default server-level > configuration. > > I have understanding that $uri will be changed to a

Re: Regarding ERROR: XmlParseFailure

2014-08-09 Thread Pankaj Kaushik
65.60.72.19:90" 2014/08/09 06:36:19 [info] 330#0: *3 client 14.102.112.84 closed keepalive connection Why it is happening? Thanks, Panky On Sat, Aug 9, 2014 at 6:44 PM, Pankaj Kaushik wrote: > Hi, > > I am getting this error : *ERROR: XmlParseFailure* > > Can anybody please le

Regarding ERROR: XmlParseFailure

2014-08-09 Thread Pankaj Kaushik
Hi, I am getting this error : ERROR: XmlParseFailure Can anybody please let me know what is the issue? Below is my nginx.conf. map $uri $key2 { ~^(?/[^/]+)/ $key; default ""; } upstream backend { hash $key2 consistent;