简体   繁体   中英

Do I need to install Passenger or Unicorn in order to run my Rails app under Nginx?

I have Rails app setup on my local (OS X 10.10) and it runs perfection under Rails server. I have Nginx install but I do not know how to configure Nginx to run my local Rails app.

Yes, you need to install Passenger in order to run your Rials app under Nginx. The Passenger documentation's introduction section explains why, and how exactly Passenger helps you.

The Passenger documentation also teaches you how to deploy your app to a production server with Nginx. It covers everything, from spinning up your server to installing Ruby to installing Passenger to configuring the app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM