I would like to hit the same service on two domains with different paths. Configured in marathon lb.
http://front-dev.marathon.ice.mesos/auth
and
http://auth-dev.marathon.ice.mesos
I have tried:
HAPROXY_0_VHOST=front-dev.marathon.ice.mesos,auth-dev.marathon.ice.mesos
HAPROXY_0_PATH=/auth
This will let me hit
http://front-dev.marathon.ice.mesos/auth and http://auth-dev.marathon.ice.mesos/auth
Not exactly what I wanted.
I have also tried
HAPROXY_0_VHOST=front-dev.marathon.ice.mesos,auth-dev.marathon.ice.mesos
HAPROXY_0_PATH=/auth
HAPROXY_1_PATH=/
That changes nothing.
Two separate VHOST labels does not work either
HAPROXY_0_VHOST=front-dev.marathon.ice.mesos
HAPROXY_1_VHOST=auth-dev.marathon.ice.mesos
HAPROXY_0_PATH=/auth
HAPROXY_1_PATH=/
1_VHOST and 1_PATH is ignored