You might want to look into Unicorn/Thin/Mongrel as your app server, which you reverse proxy to via nginx
Although in my experience, nginx is nor the best at proxying. For that I recommend haproxy, so your architecture would be
Nginx <-> haproxy <-> unicorn/thin, etc.
More moving parts for sure.
> --
> You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
> To post to this group, send email to phusion-...@googlegroups.com.
> To unsubscribe from this group, send email to phusion-passen...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en.
>
> Passenger is really coupled with a local web server. ...
The monitorized deploy in Passenger is a nice feature. Our developers would be reluctant to give it up.
I will look into Unicorn. Thanks for the insight.
>
> ... nginx is nor the best at proxying. For that I recommend haproxy ...
>
Interesting! I have not had any serious problems with nginx, but I have seen haproxy mask some very hard-to-debug problems. Back to the drawing board.
Thanks again for your thoughtful reply,
Greg
Nginx is super fantastic, dont get me wrong. But its *native* lack of
reverse proxying flexibility is where it falls down. ...
If you deploy Passenger via Puppet/Chef than your recipe has now just
gotten more complicated ...