Skip to content

Why I cannot access to the aws s3 with spatie media? #3565

Discussion options

You must be logged in to vote

It's the issue related to the AWS_ENDPOINT. You have to specify exact endpoint for the AWS.

Here is how I fixed this issue.

MEDIA_DISK=s3
FILESYSTEM_DISK=s3

AWS_ACCESS_KEY_ID=""
AWS_SECRET_ACCESS_KEY=""
AWS_DEFAULT_REGION=ap-southeast-1
AWS_ENDPOINT="https://s3.${AWS_DEFAULT_REGION}.amazonaws.com/${AWS_BUCKET}"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aungmyatmoethegreat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant