如何在 pfsense haproxy 上激活 HTTP2
转到 HAProxy 前端设置。对于每个单独的前端(不仅仅是主前端),向下滚动或使用页面搜索搜索 alpn。你应该看到:

在此粘贴或追加此内容:
haproxy-alpn.conf
alpn h2,http/1.1现在应该看起来像这样:

现在保存设置并重新加载 HAProxy。
使用 Ctrl+F5 重新加载你刚刚激活 HTTP/2 的页面后,你应该有 HTTP2 连接。
Check out similar posts by category:
Networking
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow