Does anybody know how you can efficiently run multiple sites (w/ multiple domains) on Rails? My understanding with how the bundled Rails webapp works is by installing an nginx server to then serve 1 Rails site. This seems grossly inefficient to scale to multiple sites each with it's own dedicated nginx server running in my home directory. (and chewing up my memory quota) A though that occurred to me is; Is it possible to setup a single nginx server to then serve up the multiple Rails sites similar to Apache's concept of vHosts? (I'm assuming nginx has a concept similar to vHosts) Anyone out there run into a similar situation or have any thoughts? asked 10 Nov '11, 22:24 dgersting |
Hi, You can see "How do I serve multiple Passenger apps from a single nginx instance?" for accomplishing this. Hope that helps! |