Disable auto HTTPS on LAN

I found it here: V2: reverse-proxy transparent - #11 by Troy