Sample Header Ad - 728x90

Why is HAProxy forwarding HTTP2 requests as HTTP 1.1?

1 vote
1 answer
3173 views
I'm trying to configure a load balancer between 2 servers with HAPoxy, this is my configuration: frontend haproxynode bind *:443 ssl crt /etc/ssl/private/isel.pem alpn h2,http/1.1 mode tcp default_backend backendnodes backend backendnodes balance roundrobin option forwardfor server node1 192.168.1.5:80 check server node2 192.168.1.6:80 check This is my network: network I'm running a word press server in both server VM's. And I'm using h2load to do the benchmarking. When I use the command h2load -n 30 -c 30 https://192.168.1.26/blog/ I get this: enter image description here As you can see the application protocol is h2, but in WireShark the requests appear as HTTP 1.1, why? enter image description here
Asked by Rodrigo Pina (11 rep)
Jan 26, 2021, 12:13 AM
Last activity: Jun 27, 2023, 08:01 AM