permanentredirect s3 for unspecified endpoint

后端 未结 3 751
北恋
北恋 2021-01-14 12:42

I\'m experimenting with s3 but im running into a permission problem (i think).

Output:

 AWS::S3::PermanentRedirect in CkeditorController#create

The          


        
3条回答
  •  别那么骄傲
    2021-01-14 13:33

    With paperclip version 3.1.4, simply adding a s3_host_name key to my s3.yml file worked:

    development:
      bucket: 'bucket.name'
      access_key_id: 'xxx'
      secret_access_key: 'xxx'
      s3_host_name: 's3-eu-west-1.amazonaws.com'
    

提交回复
热议问题