title: Nginx reverse proxy multiple backends
body: <p>Here is my situation: I will have one frontend server running Nginx, and multiple backends servers running Apache + passenger with different rails applications. I am NOT trying to do any load balancing. What I need to do is setup Nginx to proxy connections to specific servers based on the URL. IE, <code>client.example.com</code> should point to <code>x.x.x.100:80</code>, <code>client2.example.com</code> should point to <code>x.x.x.101:80</code>, etc.</p>
  <p>I am not that familiar with Nginx, but I could not find a specific configuration online that fit my situation.</p>