Singleton patterns in Python’s AIO-HTTP

AIO-HTTP is a web server framework built on python 3's async capabilities. The performance benefits of using async are widely documented online - but suffice to say you can get performance from Python which is on par with NodeJS! If you're coming from a Java (or similar) background, one of the questions you'll probably come … Continue reading Singleton patterns in Python’s AIO-HTTP

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