阅读背景:

在laravel上配置AWS S3端点

来源:互联网 

How can I set the endPoint in the configuration file config/aws.php or config/filesystem.php to not get the following error

如何在配置文件config / aws.php或config / filesystem.php中设置endPoint以避免出现以下错误

what is the name of the variable S3_END_POINT or just endpoint or what ?

变量S3_END_POINT的名称是什么,或者只是端点或什么?

The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint: "swiptimages.s3-eu-west-1.amazonaws.com".

1 个解决方案

#1


1  

The most probable cause of this error is that you've created the bucket in different region than you put in S3 client configuration. Make sure that the value of S3_REGION (or whatever you're passing as region in filesystems.php matches that bucket's region in S3.

导致此错误的最可能原因是您在不同于S3客户端配置的区域中创建了存储桶。确保S3_REGION的值(或者您在filesystems.php中作为区域传递的任何值与S3中该桶的区域匹配)。


分享到: