Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.0
-
None
-
None
-
NiFi behind a reverse proxy (HAProxy)
Description
When I deploy NiFi behind a custom context path eg (https://my-nifi/my/context/path/) and using OpenID authentication, after the login I'm redirected to https://my-nifi/nifi/ instead of https://my-nifi/my/context/path/nifi/ .
My presumption is, that the relative redirect in httpServletResponse.sendRedirect it's respecting the contextPath provided in the X-ProxyContextPath header:
https://github.com/apache/nifi/blob/rel/nifi-1.6.0/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/AccessResource.java#L269
Attachments
Issue Links
- links to