Unicorn 可以直接处理 HTTPS 请求(请求不经过 Apache/Nginx)吗?
我确信很多人会认为这是一个愚蠢的问题,但我在网络上的任何地方都找不到直接的答案:
Can Unicorn beconfigured to process HTTPS requests direct, without reverse-proxying the request through another web server such as Apache or Nginx ? (如果是这样,怎么办?)
I'm sure many will consider this a dumb question but I can't find a straight answer anywhere on the web:
Can Unicorn be configured to handle HTTPS requests directly, without reverse-proxying the request through another web server such as Apache or Nginx? (And if so, how?)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Unicorn 经过优化以处理快速连接,并不意味着用于直接客户端通信。如果您考虑使用 https,我会假设您正在通过一条可能无法控制的线路传输数据。最好使用另一个 Web 服务器来终止 ssl 连接。
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.