Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

NiFi with proxy returning HTTP 403 on API upload

avatar
New Member

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

avatar
New Member
1 REPLY 1

avatar
New Member

According to link Added the CORS filter to the templates/upload endpoint, this is not possible.