-
Notifications
You must be signed in to change notification settings - Fork 474
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/modify route-prefix and external-url flags to work the same as for the Prometheus server #190
Comments
+1 |
1 similar comment
+1 |
Is the I currently have
|
That seems messed up, too. I'll declare this now to be a bug, too. :o( |
Pass in the prefix to the Static handler such that it can be removed from the Path looked up to serve files relative to the FileSystem's root.
Pass in the prefix to the Static handler such that it can be removed from the Path looked up to serve files relative to the FileSystem's root. Signed-off-by: Andrew G10z <[email protected]>
Addresses route-prefix bug described in #190 Pass in the prefix to the Static handler such that it can be removed from the Path looked up to serve files relative to the FileSystem's root. * Provide support for --web.external-url This works in conjunction with the `--web.route-prefix` flag to provide resources at the provided external URL, with the properly munged `route-prefix`. If an external URL is provided, but a `route-prefix` is not, this change takes the external URL's Path and uses that as the `route-prefix`. Includes a simple test checking for the presence of a known external-url in the body of the Status handler. Signed-off-by: Andrew G10z <[email protected]>
Details are discussed in #149 . This issue is meant to track the (more urgent) user-facing behavior (in contrast to implementation details of the routing).
In short:
--web.route-prefix
should work in the same way as for the Prometheus server.--web.external-url
should be added with the same semantics as for the Prometheus server.The text was updated successfully, but these errors were encountered: