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

Add support for --web.route-prefix #636

Closed
sushovan23 opened this issue Feb 1, 2024 · 2 comments · Fixed by #640
Closed

Add support for --web.route-prefix #636

sushovan23 opened this issue Feb 1, 2024 · 2 comments · Fixed by #640

Comments

@sushovan23
Copy link

I have deployed promxy in k8s using helm chart. exposing it using nginx ingress controller however I want to access it using endpoint like /promxy-prod instead of just /
If there any configuration available to set httpprefix path?

@sushovan23
Copy link
Author

may be something similar to what prometheus provides with --web.route-prefix

@jacksontj
Copy link
Owner

jacksontj commented Feb 18, 2024

Thanks for the question! As of today the only mechanism supported as of now is to use the externalUrl -- but it seems that upstream has since added a --web.route-prefix as well, so we could add that to promxy to match.

But if you need something now using externalUrl will do the trick (thats what I've been using).

I've renamed this issue to be a feature request for that flag -- which should be a simple change to make.

@jacksontj jacksontj changed the title How to specify a different path other than / for accessing promxy Add support for --web.route-prefix Feb 18, 2024
jacksontj added a commit that referenced this issue Feb 27, 2024
jacksontj added a commit that referenced this issue Feb 27, 2024
jacksontj added a commit that referenced this issue Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants