I'm currently running Passenger/Nginx in production (on top of Ubuntu), with an SSL certificate installed on Nginx (my entire app is served over SSL).
I want to add a second server for redundancy and performance purposes. Since Passenger and Nginx run on the same machine, it appears that I'm going to need to duplicate the entire app setup I currently have and then run a load balancer in front of the nginx instances. I was thinking about using HAProxy since it supposedly is a better load balancer than Nginx, but it looks like HAProxy doesn't support SSL. So It appears that the optimal config is potentially
nginx -> haproxy -> nginx/passenger (x2)
This seems kind of redundant since I would have to run two levels of nginx servers. Is there a simpler recommended way to set this up?