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