Thanks for the replies . I figured out the issue . This was not related to Nginx Config . The requests i was trying to route had an issue . Btw , I shifted to map as well and both configurations worked. Thanks for your comments and appreciate it . Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261867,261948#msg-261948