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
This is an old post but i had the same question and i managed to do it but using 127.0.0.1 as host ip.
for example:
get /index.html HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: Close\r\n\r\n
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