Skip to content
Brenden Matthews edited this page Mar 2, 2016 · 28 revisions

Welcome to the marathon-lb wiki!

Examples

Custom HTTP headers in health check

This example adds the Host header to the health check executed by HAProxy:

{
  "id":"app",
  "labels":{
    "HAPROXY_GROUP":"external",
    "HAPROXY_0_BACKEND_HTTP_OPTIONS":"option  httpchk GET {healthCheckPath} HTTP/1.1\\r\\nHost: www\n  timeout check {healthCheckTimeoutSeconds}s"
  }
}
Clone this wiki locally