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