On Tue, Feb 26, 2019 at 11:19:12AM +0100, Tom wrote: > Hi list > > When I enable health-checks on the backend, then the backend comes not up, > because of "Layer7 invalid response". The backend is a simple nginx with > http2 enabled. As I mentioned: When I directly talk to the backend with > http2, then everything is fine. So it has something to do regarding my > haproxy-config, but I'm not sure whats wrong. > Sorry I missed the part about health checks, I believe you need to use check-alpn http/1.1 on your server lines for checks to work. They are not supported over http2 for now and since you have alpn h2,http/1.1 on your server lines, haproxy will try to send http/1 traffic to a server expecting h2, that is, unless you set check-alpn.
Jérôme

