lenses-docker
lenses-docker copied to clipboard
Lenses behind reverse-proxy
Hey, currently I'm having trouble accessing lenses UI through our reverse-proxy(Traefik). since the dashboard landing page is '/' with a redirect.. We're working with PathPrefix to filter between different services behind a 443 proxy, Lenses is one of them. according to Traefik's devs https://community.containo.us/t/why-doesnt-traefik-readd-pathprefix-prefixes-to-backend-responses/1240 there is no way to add this prefix to lenses responds so the possible solution is only to configure a corrolating pathprefix both to Traefik and Lenses.
I'm having trouble finding this configuration property in Lenses docs. Is is possible to change the Lenses UI url prefix?
Hi @Chrislevi we don't support right now PathPrefix
. Lenses for now can run only under root path or subdomain, we are working on it to support this in a better manner.
I will recommend you to do it with sudomains in your traefik. eg. lenses.traefik.com
. We follow the same approach internally for our dev environments with Traefik. So you can have multiple services under the same traefik with subdomains.
I have some certain constraints regarding sudomains, so its kinda off the table. its the main reason why we're sticking to PathPrefix.
Is it planned for the near future?
I understand. We have some limitations in our current codebase right now which need to be removed first in order to support it, so I hope some time in the next quarter probably.
Is there any news regarding this issue? @spirosoik
Not yet @Chrislevi , we are still have this task in the queue though.