Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8890

ContextPath for NiFi Registry UI

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • NiFi Registry
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            trojan295 Damian Czaja
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: