Skip to content

Conversation

@ngearhart
Copy link

@ngearhart ngearhart commented Jan 27, 2026

The Neuvector UI (manager) requires all traffic to be hosted at the root URL behind an FQDN. Although this fits most deployment scenarios, some users (me included) need to route traffic based on URL path prefixes. For example, instead of hosting at "https://neuvector.example.com/", I use "https://example.com/neuvector/".

This PR adds the necessary scaffolding to support a path prefix as described using the optional PATH_PREFIX environment variable. If unset, the Neuvector manager will continue to work as previous, serving at the root URL.

This environment variable must not contain a preceding slash.

To test, simply set the environment variable in your environment, and navigate to that new path (for example, if you usually navigate to http://localhost:8443, set the var to test-path and navigate to http://localhost:8443/test-path/).

…path prefix

Signed-off-by: Noah Gearhart <noah.gearhart@darkwolfsolutions.com>
@ngearhart ngearhart requested a review from a team as a code owner January 27, 2026 15:24
@ngearhart ngearhart requested a review from lsongsuse January 27, 2026 15:24
Signed-off-by: Noah Gearhart <noah.gearhart@darkwolfsolutions.com>
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.

1 participant