jimcgh
jimcgh

Reputation: 5977

Running multiple rails applications using Passenger

I'm using Passenger as the application server for rails applications in nginx.Is it possible to run multiple rails applications using a single Passenger instance ?

Thank You

Upvotes: 2

Views: 800

Answers (1)

Hongli
Hongli

Reputation: 18944

Yes you can definitely run multiple applications on Phusion Passenger. Remember that according to the Phusion Passenger documentation you're supposed to setup a virtual host with a certain domain name, and then pointing that virtual host's document root the application's "public" directory? Well... if you want to deploy more applications, you do the exact same thing. You add more virtual hosts, and in the other virtual hosts you point to other applications' "public" directories.

Upvotes: 1

Related Questions