Add extra headers to Backend services

Dear community,

I am stuck exposing Apache Nifi using Cloudflare tunnel. Unfortunately Apache Nifi expects the following Headers to be passed when running behind Reverse Proxy:

X-ProxyScheme - the scheme to use to connect to the proxy
X-ProxyHost - the host of the proxy
X-ProxyPort - the port the proxy is listening on
X-ProxyContextPath - the path configured to map to the NiFi instance

Any idea how to address this problem?

Best regards

I’m not familiar with Nifi, but you can add headers to the Origin requests using a HTTP Request Header Modification Rule.


Thanks. I have just put the Headers through Modification Rule and it worked for me.


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.