Can't force Rails into production environment via Passenger/Nginx

后端 未结 2 757
北荒
北荒 2021-02-06 11:18

I\'m having trouble getting a Rails app to run in the production environment via Phusion Passenger on Nginx/Ubuntu. According to the docs, the environment is controlled by the

2条回答
  •  情话喂你
    2021-02-06 11:32

    Or try just removing 'config.ru' altogether. Nginx is smart about rails apps, and config.ru is not necessary for them.

提交回复
热议问题