duanshan5259 2015-12-03 09:42
浏览 450
已采纳

在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

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

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条回答 默认 最新

  • duanli0453 2015-12-03 12:56
    关注

    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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?