目前我的 Ubuntu 服务器运行 RubyOnRails 应用程序和 Apache2 +Passenger。
现在我需要部署一个 Sinatra(Plain Ruby 应用程序),它需要在 Thin 而不是Passenger 上运行。
我熟悉配置 Apache,并希望以这种方式继续使用 VirtualHosts(在可用站点中)等。
如何将 Apache 中的 VirtualHost“路由”到瘦服务器?
thin apache-2.2
apache-2.2 ×1
thin ×1