Add https redirect handler