Fixed https redirect