I'm wondering if anyone has setup HAProxy with http2 support on the frontend and HTTP/1.1 on the backend
The backend servers are currently Varnish so only support HTTP/1.1
Would http2 work in scenario were a persistent connection would be kept open to the load balancer, and the load balancer would then make the downgraded HTTP1.1 connections to the backend.
Or do both the frontend and the backend need to support HTTP2?
mode http
). As of now, it can only be used in an H2 environment to offload SSL and hand over the connection (mode tcp
) to an HTTP/2-capable back-end... so much of your question seems to have an answer that is yet to be determined, and the rest isn't yet possible. – Duren