You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Damian Czaja (JIRA)" <ji...@apache.org> on 2018/03/22 16:52:00 UTC
[jira] [Created] (NIFIREG-156) ContextPath for NiFi Registry UI
Damian Czaja created NIFIREG-156:
------------------------------------
Summary: ContextPath for NiFi Registry UI
Key: NIFIREG-156
URL: https://issues.apache.org/jira/browse/NIFIREG-156
Project: NiFi Registry
Issue Type: Improvement
Affects Versions: 0.1.0
Environment: NiFi registry 0.1.0 + HAProxy on Docker
Reporter: Damian Czaja
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)