Get IP Address of client without web scripts (like php)

Figured I’d do a quick post about this, I had the need to show my IP address (like https://www.icanhazip.com/ but internal).  I didn’t really feel like adding php to my existing nginx server, so here’s what I did. First) I create a new virtual-host with the internal server-name (or ip) of my nginx server, new document root of “ip” and a Continue reading Get IP Address of client without web scripts (like php)→

Not all technical blog posts are created equal.

The internet is the second source of opinions (first being Politicians). But what does that have to do with Technical Blogs? Recently I embarked on a security focused project of adding 2 Factor authentication to the some network authentication systems at work.  A few google searches later and you’ll find a bunch of results for ‘How to configure Radius with Google Continue reading Not all technical blog posts are created equal.→

HTTP2 without ALPN is not quite HTTP2

So followup post, I was having some issues with http2 browser support since I was missing ALPN, so after a lot of trial and error, here’s what I ended up with. Partially followed https://fak3r.com/2015/09/29/howto-build-nginx-with-http-2-support/ with a few differences. I installed openssl1.0.2h from this ppa: https://launchpad.net/~ondrej/+archive/ubuntu/php And then used nginx 1.11.1 from http://nginx.org/download/ and also grabbed the headers-more-nginx-module-0.30 and ngx_pagespeed-master off Continue reading HTTP2 without ALPN is not quite HTTP2→