Redirect to https
Use https for api