Your proxy_pass is set to the same port for both servers. Are these two sites running from the same code base? If not you need to pass the requests off to two different upstream servers. -- Posted via http://www.ruby-forum.com/.