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/06 09:55:00 UTC

[jira] [Created] (NIFI-4937) Cannot GET /nifi-api/flow/bulletin-board behind reverse proxy

Damian Czaja created NIFI-4937:
----------------------------------

             Summary: Cannot GET /nifi-api/flow/bulletin-board behind reverse proxy
                 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

Hello,

I have an problem, when running NiFi on Docker behind a reverse proxy (TinyProxy).

TinyProxy configuration adds three headers. NiFi is working on the same host on port 8080.
{code:java}
tinyproxy.conf
...
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
(v7.6.3#76005)