You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support for serving cloudprober UI under a subpath #1024
When serving the Cloudprober UI behind a reverse proxy, sometimes I have to access it through a subpath rather than the root path, such as example.com/cloudprober/.
This is useful when I need to share a domain with other services.
Currently, the Cloudprober UI is unaware of the base path that was used to access it. This causes UI navigation to break as redirects lose their path prefix.
One way to solve this is to add a config option to specify a base path for the UI, such as --web-ui-base-path=/cloudprober/.
With this configuration, the UI is served under the specified path (e.g. /cloudprober/), and all generated URLs and redirects would automatically include this base path. Path rewriting won't be necessary in the proxy configuration.
#1025 fixes the links issue without requiring any other flag or config. I think we can skip fixing the redirect requirement because that's just a convenience thing for the most part, or we can just an HTML/JS redirect for those cases.
Activity
manugarg commentedon Mar 4, 2025
#1025 fixes the links issue without requiring any other flag or config. I think we can skip fixing the redirect requirement because that's just a convenience thing for the most part, or we can just an HTML/JS redirect for those cases.
manugarg commentedon Mar 5, 2025
#1028 solves redirects as well.