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
[victoriametrics] Taking into account http.pathPrefix for the webui logo URL. #5306
Comments
… page header - fix page header link rendering - fix rendering of favicon.ico link See: #5306 Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
Hello @crocchietta, thank you for the report! |
…on.ico This allows hiding VictoriaMetrics components behind proxies with arbitrary path prefixes. For example, vmagent HTTP handlers can be served via /vmagent/ path prefix: - http://proxy/vmagent/targets - http://proxy/vmagent/service-discovery The path prefix can be arbitrary. For example, below are vmagent urls for /tenantID/vmagent/ path prefix: - http://proxy/tenantID/vmagent/targets - http://proxy/tenantID/vmagent/service-discovery While at it, consistently serve favicon.ico from any path directory. Updates #5306 Updates #5307
…on.ico This allows hiding VictoriaMetrics components behind proxies with arbitrary path prefixes. For example, vmagent HTTP handlers can be served via /vmagent/ path prefix: - http://proxy/vmagent/targets - http://proxy/vmagent/service-discovery The path prefix can be arbitrary. For example, below are vmagent urls for /tenantID/vmagent/ path prefix: - http://proxy/tenantID/vmagent/targets - http://proxy/tenantID/vmagent/service-discovery While at it, consistently serve favicon.ico from any path directory. Updates #5306 Updates #5307
The related issue - #1858 |
The issue should be fixed in the commit 8af56ea . This commit replaces absolute links to the main page and to the The commit 8af56ea will be included in the next release. In the mean time it is possible to verify whether the commit fixes the issue by building VictoriaMetrics from this commit according to these docs. |
Good morning. Thank you both for your intervention. |
…on.ico This allows hiding VictoriaMetrics components behind proxies with arbitrary path prefixes. For example, vmagent HTTP handlers can be served via /vmagent/ path prefix: - http://proxy/vmagent/targets - http://proxy/vmagent/service-discovery The path prefix can be arbitrary. For example, below are vmagent urls for /tenantID/vmagent/ path prefix: - http://proxy/tenantID/vmagent/targets - http://proxy/tenantID/vmagent/service-discovery While at it, consistently serve favicon.ico from any path directory. Updates VictoriaMetrics#5306 Updates VictoriaMetrics#5307
The bugfix for this issue has been included in the release v1.95.0. Closing it as fixed then. @crocchietta , feel free re-opening the issue if it still persists at |
I just deployed version 1.95.1 and the problem is well resolved. Thanks. |
Describe the bug
I don't know if this is a bug or a configuration problem for me.
When using -http.pathPrefix, it is not taken into account when clicking on the logo.
For example, if http.pathPrefix=victoria01, the logo URL is not https://@ip/victoria01 but https://@ip/.
To Reproduce
configure -http.pathPrefix, go to the targets page then click on the VictoriaMetrics logo.
Version
victoria-metrics-20230602-095850-tags-v1.91.2-0-gde9481208
Logs
No response
Screenshots
Used command-line flags
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: