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
Images are uploaded to BUCKET_NAME.nyc3.digitaloceanspaces.com/media and fetched from nyc3.digitaloceanspaces.com/media
Currently I cannot find a correct configuration for digital ocean spaces. I've gotten things working many times in the passed (pre django 4.2) if this makes a difference
The text was updated successfully, but these errors were encountered:
I think the issue has to do with how the name of the url is being stored.
With the latter set of settings. Images are uploaded to the correct location but when fetching the BUCKET_NAME is not being added to the beginning of the url.
This messed me up quite badly. The docs are wrong w/ respect to var names. These are the ones that worked for me:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_STORAGE_BUCKET_NAME
AWS_S3_ENDPOINT_URL
AWS_S3_REGION_NAME
AWS_DEFAULT_ACL
AWS_S3_OBJECT_PARAMETERS
with settings like this:
Images are uploaded to
BUCKET_NAME.nyc3.digitaloceanspaces.com/BUCKET_NAME/media
and fetched fromBUCKET_NAME.nyc3.digitaloceanspaces.com/media
With settings like this:
Images are uploaded to
BUCKET_NAME.nyc3.digitaloceanspaces.com/media
and fetched fromnyc3.digitaloceanspaces.com/media
Currently I cannot find a correct configuration for digital ocean spaces. I've gotten things working many times in the passed (pre django 4.2) if this makes a difference
The text was updated successfully, but these errors were encountered: