Enable https if we are being proxied
Merge pull request #39 from LongsightGroup/upstream

Enable https if we are being proxied