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

Support nested paths #131

Closed jgarcia-mesosphere closed 8 years ago

jgarcia-mesosphere commented 8 years ago

Marathon-lb currently uses the path_beg syntax for evaluating paths; can we change to or enable an option for path_reg syntax to allow nested paths?

mikestaub commented 8 years ago

I created a PR to fix this. I should be able to provide a custom HAPROXY_0_HTTP_FRONTEND_ACL_WITH_PATH template via labels, but the code was simply not reading it from my config.

mikestaub commented 8 years ago

This has been resolved by #133

brndnmtthws commented 8 years ago

As per https://github.com/mesosphere/marathon-lb/issues/131#issuecomment-204579533, you can customize the behaviour with templates if needed.