SpectoLabs / hoverfly-ui

Admin dashboard for Hoverfly
http://hoverfly.io
Apache License 2.0
10 stars 2 forks source link

Support for context-path #21

Open loganmzz opened 5 years ago

loganmzz commented 5 years ago

/index.html is using a / as base href making impossible to reverse proxy hoverfly UI using a context-path.

tommysitu commented 5 years ago

I noticed this problem as well when the UI is behind kubectl proxy. Any suggestion?

loganmzz commented 5 years ago

You need a reverse proxy that supports URL rewriting in HTML pages. Nginx and Apache can do that ... Or, recompile hoverfly with a modified version of this module as Hoverfly UI resources are embedded into the binary.