ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.96k stars 528 forks source link

Allow suburl to map the application #527

Open HOSTED-POWER opened 4 years ago

HOSTED-POWER commented 4 years ago

General information

Issue Description

We would like to map the docker container under a suburl on the host. Eg. https://www.example.com/elastichq

We got this working using reverse proxy , but on the metrics page for example it's not working because it's all mapped under /

Example: https://www.example.com/socket.io/?EIO=3&transport=polling&t=NFa71Al

This above url cannot be found. It's of course because the correct url would be: https://www.example.com/elastichq/socket.io/?EIO=3&transport=polling&t=NFa71Al

It could be solved very easily by allowing a specific mapping url for the container and application. E.g. mappedurl=/elastichq

This could properly set all the paths and it would be an incredible solution to map the monitoring on existing hostnames :)

HOSTED-POWER commented 2 years ago

I assume this would be fixed which would be nice, I'll try to get this tested! :-)