Search code examples
pythondjangopython-django-storages

Using Django-Storages with amazon S3 and https


We have an image uploader that uploads to AWS, using django-storages. Right now it sends images over http but we want it to use https.

Googling didn't help me find a way to configure django-storages to do it. Does anyone know the best way to accomplish this, or any documentation that would point me in the right direction.


Solution

  • Looking at the source it appears you can enable HTTPS by setting AWS_S3_SECURE_URLS = True.