@e-pirate wrote:
Hi, folks!
Is there is a way to send real backend address as a Host header in the httpchk requests? We are currently using HTTP 1.0, but would like to switch to HTTP 1.1 and sending meaningful Host header is a mast in your case. Here is our current backend section of the config:backend apiservers balance leastconn mode http option httpchk GET /healthz HTTP/1.0\r\nAuthorization:\ Bearer\ SOME_TOKEN_HERE http-check disable-on-404 http-check expect rstring ^ok server core1 core1.cloud:443 ssl check server core2 core2.cloud:443 ssl check server core3 core3.cloud:443 ssl check
Options like
http-request add-header Host %[src]
andhttp-send-name-header Host
in the backend section seem not affect httpchk mechanism. Any ideas?
Posts: 2
Participants: 2