Nugget Post: Running NiFi behind an SSL reverse proxy

Scenario User --- (HTTPS) ---> NGINX Reverse Proxy --- (HTTP) ---> NiFi Typical NGINX Reverse Proxy config: location /nifi { proxy_set_header Host $http_host; add_header "Access-Control-Allow-Credentials" "true"; proxy_pass http://127.0.0.1:9900; } Note: the proxy_set_header Host is necessary otherwise NiFi will return "localhost" or "127.0.0.1" in it's links and you'll end up with a bunch of HTTP 404 … Continue reading Nugget Post: Running NiFi behind an SSL reverse proxy

Practical use case for Javascript Function Properties (ReactJS)

TL;DR : Function properties are useful when meta-programming, specifically avoiding minification and mangling of function names The new UI for CyberSift consists of a number of "widgets" which are interchangeable and can be moved around the screen to cater for a user's preferred layout. Heavily inspired by Elastic's Kibana, you can see the end result … Continue reading Practical use case for Javascript Function Properties (ReactJS)