fixed --http-to-https