Actually fixed the HTTPS redirect.

It turns out that I can't count.