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