https is used for s3 when uploading private files