Varnish 已经通过 Hitch 完整的支持 HTTP/2,以下是在 CentOS 8 中的实现示例。
请访问原文链接:https://sysin.org/blog/varnish-with-hitch-http2/,查看最新版。原创作品,转载请保留出处。
作者:gc(at)sysin.org,主页:www.sysin.org
版本支持:
In Varnish Cache 5.0 there is experimental support for HTTP/2.
Varnish 6.0 now fully supports HTTP/2.
Varnish HTTP/2 前端通过 Hitch 代理实现。
访问逻辑:
+------------+ +------------+ +------------+ +------------+
| | | | | | | |
| 浏览器 +----+ Hitch +----+ Varnish +----+ Nginx |
| | | | | | | |
+------------+ +------------+ +------------+ +------------+