Member since
10-18-2017
4
Posts
1
Kudos Received
0
Solutions
10-27-2017
09:08 PM
I'm not sure if this helps but, below is a sample nginx configuration that worked for me. I didn't need the X-ProxyContextPath but t, my requests are still context root of "/nifi". I suspect I'd need the X-ProxyContextPath if my requests were something like, <my-site>/nifi location /nifi {
proxy_pass http://<nifi-ip/dns-name>:<nifi-port>/nifi;
proxy_set_header 'X-ProxyScheme' 'http'; #
proxy_set_header 'X-ProxyHost' '<external-proxy-ip>';
proxy_set_header 'X-ProxyPort' '<proxy-ip>';
}
... View more
10-27-2017
09:00 PM
I got HTTP 502 the first time I tried the proxy and then I fixed the iptables. You could try: iptables -I INPUT -j ACCEPT as a test. This opens up everything.
... View more