支持的,不然 HTTP 头里的 Connection: Keep-alive 就没有意义了。
可以参考 Nginx 配置实现中的介绍:
http://nginx.org/en/docs/http/ngx_http_ssl_module.htmlTo reduce the processor load it is recommended to
* set the number of worker processes equal to the number of processors,
* enable keep-alive connections,
* enable the shared session cache,
* disable the built-in session cache,
* and possibly increase the session lifetime (by default, 5 minutes)
第 2 点就是建议你开启长连接,减少处理器开销。