Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lenses behind reverse-proxy #24

Open
Chrislevi opened this issue Nov 19, 2019 · 5 comments
Open

Lenses behind reverse-proxy #24

Chrislevi opened this issue Nov 19, 2019 · 5 comments

Comments

@Chrislevi
Copy link

Chrislevi commented Nov 19, 2019

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?

@Chrislevi Chrislevi reopened this Nov 19, 2019
@spirosoik
Copy link
Contributor

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.

@Chrislevi
Copy link
Author

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?

@spirosoik
Copy link
Contributor

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.

@Chrislevi
Copy link
Author

Is there any news regarding this issue? @spirosoik

@spirosoik
Copy link
Contributor

spirosoik commented Mar 24, 2020

Not yet @Chrislevi , we are still have this task in the queue though.

@Chrislevi Chrislevi changed the title Lenses behind proxy Lenses behind reverse-proxy Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants