Communication between HAproxy 1.8 and backend in H2

Hello,

I would like to know how it is possible to communicate with backend in h2 mode.

My conf :

frontend https
        bind *:443 ssl crt /etc/haproxy/certs/ no-tlsv10 alpn h2,http1.1
        mode http
        use_backend my-site.org_HTTP2 if { ssl_fc_alpn -i h2 }

backend my-site.org_HTTP2
	mode http
        server nginx_http2      x.x.x.x:80 send-proxy

But when I “tcpdump” on my backend, I see the request in HTTP/1.1

Thanks for your help.

Best regards,

HTTP/2 is not supported on the backend yet.

That is a very good explanation :sweat_smile: