pub(crate) async fn redirect_http_to_https(ports: Ports)