QubitProducts / bamboo

HAProxy auto configuration and auto service discovery for Mesos Marathon
Apache License 2.0
794 stars 214 forks source link

make resource paths relative or allow custom URL #111

Open mildmike opened 9 years ago

mildmike commented 9 years ago

My goal is to use harpoxy based routing to show the bamboo UI: https://host.domain.com/bamboo/ -> http://localhost:8000/

This allows me to put the UI behind authentication for end users but allows marathon and bamboo to communicate without authentication. I use firewall rules to lock down all other traffic.

I made this work on my local environment by modifying bamboo/webapp/distmain-app.js to return relative paths rather than root-relative paths: /api/services -> api/services

It would be great to either have a config option for this or just make paths relative.