Httpchk HTTP/1.1 host

Hi I am trying to setup a http health check and I am trying to set the HOST as the server ip and port


backend staging
        balance source

        option forwardfor
        http-request set-header X-Forwarded-Port %[dst_port]
        http-request add-header X-Forwarded-Proto https if { ssl_fc }

        option httpchk GET /health "HTTP/1.1\r\nHost:"
        server v202 check ssl verify none
        server v203 check ssl verify none

This works for setting the host on v202 but not on v203. Is there a way I can have it set from the server line host:port


your checkup has specific address, so it is checking that only

just keep generic
option httpchck OPTIONS /

That will send HTTP/1.0 with no host.

I was hoping there might be something like

option httpchk GET /health "HTTP/1.1\r\nHost: %[source_addr]"