Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
NiFi registry 0.1.0 + HAProxy on Docker
Description
I am trying to deploy NiFi registry behind a reverse proxy, behind an context path i.e.:
/my-nifi-registry
I added the X-ProxyContextPath header to my HAProxy configuration:
http-request set-header X-ProxyContextPath /my-nifi-registry
but when accessing the UI I get 404 errors for all js, css etc. files and the UI isn't loading, because the contextPath isn't used.
From the code I saw, that only the API is using the X-ProxyContextPath or X-Forwarded-For, but the UI isn't. I think it would be useful to add support also for the UI.