tried replacing www with {hostname}
HAPROXY_0_BACKEND_HTTP_HEALTHCHECK_OPTIONS= option httpchk GET {healthCheckPath} HTTP/1.1\\r\\nHost:\\ {hostname}\n timeout check {healthCheckTimeoutSeconds}s\n
and tried
"HAPROXY_0_BACKEND_HTTP_HEALTHCHECK_OPTIONS": " option httpchk GET {healthCheckPath} HTTP/1.1\r\nHost: {hostname}\n timeout check {healthCheckTimeoutSeconds}s\n"
bug get
marathon_lb: Unexpected error!
Traceback (most recent call last):
File "/marathon-lb/marathon_lb.py", line 1364, in do_reset
self.__haproxy_map)
File "/marathon-lb/marathon_lb.py", line 1313, in regenerate_config
map_array, config_file),
File "/marathon-lb/marathon_lb.py", line 470, in config
str(healthCheckPort) if healthCheckPort else ''
KeyError: 'hostname'