Connection reset by peer when using s3, boto, django-storage for static files

前端 未结 4 935
逝去的感伤
逝去的感伤 2021-02-18 13:36

I\'m trying to switch to use amazon s3 to host our static files for our django project. I am using django, boto, django-storage and django-compressor. When I run collect static

4条回答
  •  眼角桃花
    2021-02-18 13:52

    You have to set your bucket permissions to Authenticated Users List + Upload/Delete or you can create a specific user in IAM section of amazon and setup the access rights only for that specific user

    This helped me some times ago: Setup S3 for Django

提交回复
热议问题