https redirect fix for azure