Open j1n6 opened 9 years ago
There are a couple of requirements where the healthcheck should/shouldn't happen:
When doing health checks from somewhere like Route 53 it's nice to be able to check the status of marathon. A sensible default might be to add the following to the haproxy template to get the marathon status and subsequently check HAProxy is up and routing.
frontend http-in
...
acl marathon-status path_beg -i /status
use_backend status if marathon-status
backend status
balance leastconn
option httpclose
option forwardfor
server localhost 127.0.0.1:8000
Also related to #56 #62