开发者

aws-s3 and European Buckets

开发者 https://www.devze.com 2022-12-25 16:18 出处:网络
Is there a work around for European Bucke开发者_StackOverflowts and aws-s3 with RoR? Thanks!In an initializer, you should add this line :

Is there a work around for European Bucke开发者_StackOverflowts and aws-s3 with RoR?

Thanks!


In an initializer, you should add this line :

AWS::S3::DEFAULT_HOST.replace "s3-eu-west-1.amazonaws.com"

Here is the open issue on the github project.

https://github.com/marcel/aws-s3/issues#issue/4


The workaround could be to use a fixed fork of the AWS::S3 library


Use the "s3" gem instead. That suports the european buckets as well.


This one also works with European buckets. I use it all the time for the London region. It's called Commandeer. Super handy while debugging your S3 integration.

aws-s3 and European Buckets

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号