How to use Rack map to run two Thin (or other) servers on different ports?

☆樱花仙子☆ 提交于 2019-12-05 18:00:51

Current Thin does not support this -- I checked the source code.

Thin v2 is still pre-release, but the config code looks like it supports this via declaring multiple listeners in the config file.

But Thin v2 is still alpha software.

You can also switch to another server like Unicorn that does explicitly support binding to multiple ports or addresses.

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