Hello Igor, Sen,

On 4 May 2018 at 08:46, Igor Cicimov <ig...@encompasscorporation.com> wrote:
> Have you tried:
>
> option httpchk GET /env HTTP/1.1\r\nHost:\ %[req.hdr(Host)]

When you are health checking, you don't have a Host header as you
don't have a frontend connection associated to it.


I proposed to offload healthcheck to dedicated backends and track them
from the main backend here:

https://discourse.haproxy.org/t/helathcheck-on-multiple-backends-with-virtual-hostnames/2413/12


Just not quite clear about how host headers from actual clients should
look like ...


cheers,
lukas

Reply via email to