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, client.example.com
should point to x.x.x.100:80
, client2.example.com
should point to x.x.x.101:80
, etc.
I am not that familiar with Nginx, but I could not find a specific configuration online that fit my situation.