Re: Multiple proxy_pass destinations from a single location block

2015-03-13 Thread AmitChauhan
When you say " but ALSO set up another proxy_pass from this location block to say bar.mydomain.com" Do you mean the request should go to both? i.e foo.mydomian and bar.mydomain. If thats the case than upstream will not work because it will actually load balance the requests between 2 servers. Inf

Re: Echo sub request not working

2015-03-13 Thread AmitChauhan
Can anyone help me with this? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257211,257237#msg-257237 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Echo sub request not working

2015-03-12 Thread AmitChauhan
When I say both the servers running on my local machine it means servers running on localhost:8080 and localhost:8090. Both are java tomcat servers. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257211,257213#msg-257213 ___ nginx mailing lis

Echo sub request not working

2015-03-12 Thread AmitChauhan
Hi, I am new to Nginx, so know very little about it. My requirement is I need to make a service call but along with proxy passing that request, I need to make call to another service/servlet. For this I decided to use Echo module to use the echo_subrequest_async option. However the subrequest is