I think you can not have two server directive in upstream, how nginx would know which one to forward request to? Will it do round robin? Not sure about that will have to check.. Can you try by removing one.. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250904,251036#msg-251036