Fix HTTPS redirects.