Is anyone able to shed some light on how to get the load balancer to server data via http2, all the requests are logging in the browser as http1
I have the ssl setup on the load balancer, and the laravel installed on 2 web servers.
Thanks
Is anyone able to shed some light on how to get the load balancer to server data via http2, all the requests are logging in the browser as http1
I have the ssl setup on the load balancer, and the laravel installed on 2 web servers.
Thanks
Hi Adam,
Thanks for the link - I have this setup already, I also tried several config variations too to see if there was an issue. Currently I now have it set to wildcard (allow all) and everything is still redirected through http1.1 - SSL is reporting OK??
Could it be a config issue somewhere?
I have also ran a http2 checker on the server - Http2 in not enabled???
Is it supported for load balancers?
Cleavr doesn’t enable http2 by default - we’d need to look at incorporating a checkbox or something in the UI during LB setup.
But, HAProxy does support it. To manually enable, you could SSH into the load balance server, find /etc/haproxy/haproxy.cfg
then find the frontend
section and add alpn h2,http/1.1
to the end of the bind *:443
line.
For example:
bind *:443 ssl crt /etc/haproxy/ssl/<your domain>/<your domain>.pem alpn h2,http/1.1
Save and restart HAProxy.
Ahhhh! Thanks Adam. I thought I’d added that but I needed sudo access for it to take effect.
My preference would be for this to be the default - but a checkbox in the UI would be good too
All working for me now!
in addition - if you’re going to work on this - adding h3 with QUIC support would be ace