Damian Czaja created NIFI-4937:

             Summary: Cannot GET /nifi-api/flow/bulletin-board behind reverse 
                 Key: NIFI-4937
                 URL: https://issues.apache.org/jira/browse/NIFI-4937
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.5.0
         Environment: NiFi on Docker + TinyProxy
            Reporter: Damian Czaja
         Attachments: nifi_bulletin_board_error.png


I have an problem, when running NiFi on Docker behind a reverse proxy 

TinyProxy configuration adds three headers. NiFi is working on the same host on 
port 8080.
AddHeader "X-ProxyHost" "public.domain.com"
AddHeader "X-ProxyContextPath" "/path/to/nifi"
AddHeader "X-ProxyPort" "443"
ReversePath "/" "http://localhost:8080/"{code}
I can access NiFi through [https://public.domain.com/path/to/nifi/nifi/] and 
NiFi works fine, but I'm getting sometimes a popup, which states, that is 
cannot GET /nifi-api/flow/bulletin-board. For ex. I happens, when I try to view 
configuration of a Controller Service.

I recognized, that this request is made directly to NiFi and not through the 
reverse proxy. It looks, that it ignores the X-Proxy headers.

This message was sent by Atlassian JIRA

Reply via email to