haproxy support http2
StarDuster opened this issue · 4 comments
Haproxy ALPN support was implemented in 1.5-dev18 version.
Just add bind *:443 ssl crt /path/ alpn h2,http/1.1
in frontend
section of config file to enable http2 feature of haproxy.
Reference:
https://news.ycombinator.com/item?id=9022807
We do list HAProxy as supporting ALPN, see: https://istlsfastyet.com/#server-performance
Umm, I'm a bit confused that why mark HAProxy as 'no' in the 'HTTP/2' column?
@StarDuster ALPN is a TLS extension that allows client and server negotiate the protocol. HAProxy supports the ALPN negotiation but it does not understand HTTP/2.. for that it must (as of today) proxy to a server that speaks h2c. Hence no HTTP/2 checkbox.
For more, see: https://hpbn.co/transport-layer-security-tls/#application-layer-protocol-negotiation-alpn
Thank you for your explaining.