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 redirect on / to routePrefix #2235

Merged
merged 1 commit into from
May 28, 2020
Merged

Add redirect on / to routePrefix #2235

merged 1 commit into from
May 28, 2020

Conversation

LucasBoisserie
Copy link
Contributor

@LucasBoisserie LucasBoisserie commented Apr 17, 2020

When routePrefix is set alertmanager doesn't redirect traffic from / to target routePrefix
Prometheus implemented it with an http redirect to targeted routePrefix, here

Add the same code, to have the same comportement

Signed-off-by: LucasBoisserie <lucas.boisserie@gmail.com>
@LucasBoisserie LucasBoisserie marked this pull request as ready for review April 17, 2020 17:01
Copy link

@paulfantom paulfantom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@roidelapluie roidelapluie self-assigned this May 21, 2020
@simonpasquier simonpasquier merged commit 97bd078 into prometheus:master May 28, 2020
@simonpasquier
Copy link
Member

Thanks!

@LucasBoisserie LucasBoisserie deleted the redirect_route_prefix branch May 28, 2020 15:15
@roidelapluie roidelapluie removed their assignment Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants