Multiple rails apps on single IP (nginx + passenger)

半腔热情 提交于 2020-01-05 04:01:11

问题


I'm looking for the way to serve multiple rails apps on one server. I uploaded one of the apps and it works just fine. But as soon as I create nginx configuration for a new app, it crashes first one. I can't find an appropriate guide for this. If you have any advice, please share.


回答1:


it can surely help you with reverse proxy as well as serving multiple apps:

https://gist.github.com/soheilhy/8b94347ff8336d971ad0



来源:https://stackoverflow.com/questions/44764009/multiple-rails-apps-on-single-ip-nginx-passenger

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!