Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.5.0
-
None
-
None
-
NiFi on Docker + TinyProxy
Description
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.
tinyproxy.conf ... AddHeader "X-ProxyHost" "public.domain.com" AddHeader "X-ProxyContextPath" "/path/to/nifi" AddHeader "X-ProxyPort" "443" ReversePath "/" "http://localhost:8080/"
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.