Why would I want to use unicorn or thin instead of WEBrick for development purposes?

后端 未结 4 1676
野的像风
野的像风 2021-01-31 08:02

I\'ve recently found that some people prefer using unicorn_rails instead of the default WEBrick as a web server for developing Rails applications.

I unders

4条回答
  •  庸人自扰
    2021-01-31 08:33

    In addition to the other answers giving a pretty good overview already, there is also a technical reason you might want to consider using unicorn over WEBrick:

    WEBrick does not support subdomains. Support for HTTPS is rather hacky to implement.

    So if you have an SaaS application using subdomains, or if you simply want to have admin/api/... subdomain, then WEBrick is not an option. There is POW for Mac OS X, but this won't work for Linux developers.

提交回复
热议问题