I want to talk my Loki instance with an address in the following format:
http://my.domain.com/monitoring/loki/
But I cannot find the correct place to configure it.
I assumed that Loki is based on Prometheus and that I could use flags like --web.external-url
. But it seems that is not the case, as I have checked all available flags with docker run grafana/loki --help
.
Am I missing something or do I have to add a reverse proxy between Loki and the rest of the world?
Not possible. Use Nginx.
Even though Loki is based on Prometheus, it is currently not possible to make Loki listen at a subpath.