This may be something very simple that I am missing. I am using the
latest HAProxy Docker image, which is using HAProxy 1.9-dev10
2018/12/08. It is using HTTP/2 to the backend web server (Caddy).
It fails its health check if I uncomment the "option httpchk" line:
backend webservers
balance roundrobin
#option httpchk
server server1 web:443 check ssl verify none alpn h2
With that line commented out, it works.
The project is on Github:
https://github.com/NickMRamirez/experiment-haproxy-http2
Am I doing something wrong? It also works if I remove "option
http-use-htx" and "alpn h2" and uncomment "option httpchk".
Thanks,
Nick Ramirez