Support Questions
Find answers, ask questions, and share your expertise

NiFi with proxy returning HTTP 403 on API upload

New Contributor

Hi all,

I have NiFi behind a nginx server proxy, and when I try upload template I recieve HTTP 403. If I access directly I can upload template. Below are my config file nginx.

upstream nifi-app {
  ip_hash; 
  server node-01:8443;
  server node-02:8443;
}

server {
  listen 443 ssl;
  server_name nifi-server;

  ssl_certificate /etc/nginx/conf.d/cert.pem;
  ssl_certificate_key /etc/nginx/conf.d/key.pem;

  location /nifi {
    proxy_pass https://nifi-app;
    proxy_set_header X-ProxyScheme https;
    proxy_set_header X-ProxyHost myhost.com;
    proxy_set_header X-ProxyPort 443;
    proxy_set_header X-ProxyContextPath /;
  }
}

Any help will be appreciated

1 ACCEPTED SOLUTION

Accepted Solutions

Re: NiFi with proxy returning HTTP 403 on API upload

New Contributor
1 REPLY 1

Re: NiFi with proxy returning HTTP 403 on API upload

New Contributor