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