Howto install different version of nginx with Phusion Passenger (standalone version)?

Phusion Passenger aka mod_rails + Apache2 or + Nginx is the easiest way to deploy Rails 3 app on the market. Thanks to the great team at Phusion, you could install standalone version and test out your app like you run test out with WEBrick and it’s just easy as 1,2,3.

Phusion Passenger standalone version install with nginx by default. Now what if you’re running different nginx version on your production and you want to make sure you match that version in your development? Here’s how

passenger start --nginx-version VERSION

where VERSION is the desired version. For example, if you want to try out the shiny and hot nginx 1.0, simply type in your rails3 folder in terminal

passenger start --nginx-version 1.0.0


About Jones Lee

Nothing much about me..

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: