@@ -12,18 +12,20 @@ server {
1212 ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
1313 ssl_ciphers HIGH:!aNULL:!MD5;
1414 location / {
15- proxy_set_header X-ProxyScheme https;
16- proxy_set_header X-ProxyHost $host ;
17- proxy_set_header X-ProxyPort 443 ;
18- proxy_set_header X-ProxyContextPath "" ;
19- proxy_pass http ://127.0.0.1:8080 ;
15+ proxy_set_header X-ProxyScheme https;
16+ proxy_set_header X-ProxyHost $host ;
17+ proxy_set_header X-ProxyPort 443 ;
18+ proxy_set_header X-ProxyContextPath "" ;
19+ proxy_set_header Host nifi;
20+ proxy_ssl_verify off;
21+ proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
22+ proxy_pass https://172.16.1.9:8443 ;
2023 }
2124 location /nifi-registry {
22- proxy_set_header Origin http ://172.16.1.9:18080 ;
23- proxy_set_header X-ProxyScheme https;
24- proxy_set_header X-ProxyHost $host ;
25- proxy_set_header X-ProxyPort 443 ;
26- proxy_set_header X-ProxyContextPath "" ;
27- proxy_pass http ://127.0.0.1:18080 ;
25+ proxy_set_header X-ProxyScheme https;
26+ proxy_set_header X-ProxyHost $host ;
27+ proxy_set_header X-ProxyPort 443 ;
28+ proxy_set_header X-ProxyContextPath "" ;
29+ proxy_pass http ://127.0.0.1:18080 ;
2830 }
2931}
0 commit comments