Rails Can Unicorn handle HTTPS requests directly?

bruceyue · 2013年04月10日 · 最后由 kgen 回复于 2013年04月10日 · 2085 次阅读

stackoverflow: Unicorn is optimized to handle fast connections and is not meant to be used for direct client communication. If you consider using https I would assume that your are transferring data through an potentially uncontrollable line. It's better to use another web server for terminating the ssl connection.

这是 Web server 的事,SSL 由 Nginx 负责就行,为什么要 App server 来做呢。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号