mesosphere / marathon-lb

Marathon-lb is a service discovery & load balancing tool for DC/OS
Apache License 2.0
449 stars 300 forks source link

Examples on path based routing #340

Closed girishbhat77hub closed 7 years ago

girishbhat77hub commented 7 years ago

Can someone please include samples on performing path based routing such that applications are accessible via paths like http://mydomain.com/application1 and http://mydomain.com/application2. Have tried setting "HAPROXY_0_VHOST": "mydomain.com" and "HAPROXY_0_PATH": "application1", but doesn't work.

brndnmtthws commented 7 years ago

There are a couple examples conveniently located in the documentation: https://github.com/mesosphere/marathon-lb/blob/master/Longhelp.md#haproxy_n_path