Forum Discussion
Is there a way to insert a HOST header in an HTTP 1.1 health monitor request?
- Oct 18, 2017
Due to concerns about the default vhost receiving health checks, I settled on using the correct service hostname in the GET and I can use the same health check on LTMs at both our datacenters. We will need to create a unique check/header for each new service, which is not terrible.
current health check: GET /path/image.svg HTTP/1.1\r\nHost: service.domain.com\r\nConnection: Close\r\n\r\n
I've not tried this myself but I 'think' if you configure your pools as using FQDNs (Ephemeral pool) then the health monitor will attempt to use DNS.. whether this translates to the GET request in the monitor using the correct host name I don't know but I'd been curious to know.
If I get chance I may test this later on this evening.
MP
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com