Added a custom locparam for https redirect