Revise https redirect