You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternatively, if you don't want to generate presigned URLs, you might want to make all objects public. Then you will be able concatenate backet base domain and path stored in db, and use it as source of image. Let's consider how to do it.
206
213
207
-
### S3 upload with public access
214
+
#### S3 upload with public access
208
215
209
216
1. First of all go to your bucket settings, Permissions, scroll down to Block public access (bucket settings for this bucket) and uncheck all checkboxes.
210
217
2. Go to bucket settings, Permissions, Object ownership and select "ACLs Enabled" and "Bucket owner preferred" radio buttons.
@@ -268,6 +275,8 @@ If for example your domain is `my-domain.com` and you bucket has name `static.my
268
275
269
276
Also you will have to enable static website hosting in your bucket settings and set index.html and error.html to empty strings.
0 commit comments