Skip to content
Snippets Groups Projects

Solve public permission files on AWS

8 files
+ 76
4
Compare changes
  • Side-by-side
  • Inline

Files

+ 4
0
@@ -51,3 +51,7 @@ MEDIA_URL = 'https://' + AWS_S3_CUSTOM_DOMAIN + 'media/'
@@ -51,3 +51,7 @@ MEDIA_URL = 'https://' + AWS_S3_CUSTOM_DOMAIN + 'media/'
# Direct the MEDIA_ROOT to the media/ directory inside the bucket
# Direct the MEDIA_ROOT to the media/ directory inside the bucket
MEDIA_ROOT = 'media'
MEDIA_ROOT = 'media'
 
 
# ACL for public read
 
AWS_DEFAULT_ACL = "public-read"
 
ACL = 'public-read'
Loading