renamed to redirectAllHTTPToHTTPS