Skip to content

Change links on front page to be relative#981

Merged
dhoard merged 1 commit intoprometheus:mainfrom
MaBiConti:main
Aug 29, 2024
Merged

Change links on front page to be relative#981
dhoard merged 1 commit intoprometheus:mainfrom
MaBiConti:main

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
@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