I don't think that you can use a path behind the server. The Upstream server is a server name itself (with port), not with something like "/something" at the end. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237358,237364#msg-237364