开发者

How to start passenger in production environment?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜