开发者

How to start passenger in production environment?

开发者 https://www.devze.com 2023-03-31 21:19 出处:网络
I\'m starting the Rails 3 application with the following command: 开发者_开发问答passenger start -a 0.0.0.0 -p 3000 -d

I'm starting the Rails 3 application with the following command:

开发者_开发问答

passenger start -a 0.0.0.0 -p 3000 -d

but how do I tell passenger to start the application in production environment?


passenger start -a 0.0.0.0 -p 3000 -d -e production

Side note: always check the help, passenger start --help would have told you the same.


Depending on your environment configuration, you might need this:

sudo passenger-config restart-app /
0

精彩评论

暂无评论...
验证码 换一张
取 消