Fixed redirect to https