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

Change links on front page to be relative #981

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

MaBiConti
Copy link
Contributor

@fstab , @dhoard , @tomwilkie

On the machines running JMX_Exporter, we are using a reverse proxy to perform TLS termination.
When mapping the JMX_Exporter to a subpath with the reverse proxy (e.g. https://myhostname/jmx/ ), the links on the frontpage of JMX_Exporter will break, as they are currently absolute links pointing to pagesin the root.

This PR changes them to be relative, so they will continue to work on a subpath.

When the endpoint of the exporter is mapped to a subpath by a
reverse proxy, absolute links would break. Relative links continue
to work.

Co-authored-by: Karina Calma <karina_calma@infobest.ro>
Signed-off-by: Martin Bickel <martin.bickel@continental.com>
@dhoard dhoard self-assigned this Aug 29, 2024
@dhoard dhoard merged commit b29d4b8 into prometheus:main Aug 29, 2024
1 of 2 checks passed
@dhoard
Copy link
Collaborator

dhoard commented Aug 29, 2024

@MaBiConti merged. Thanks for the PR!

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

Successfully merging this pull request may close these issues.

2 participants