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. Infact I am also looking for a solution wherein I need proxy_pass to send request to the dby AmitChauhan - Nginx Mailing List - English
Can anyone help me with this?by AmitChauhan - Nginx Mailing List - English
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.by AmitChauhan - Nginx Mailing List - English
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 not working and even simple echo print is not working. Where does echo "hello" suppoby AmitChauhan - Nginx Mailing List - English