我正在尝试使用s3设置回形针,但得到:
Connection refused - connect(2) for "bjjbase.com.s3-website-us-west-2.amazonaws.com" port 443
我的aws.yml:
development:
access_key_id: xxxxxxxxxx
secret_access_key: xxxxxxxxx
拥有这些令牌的IAM用户AmazonS3FullAccess
development.rb:
config.paperclip_defaults = {
:storage => :s3,
:s3_host_name => 'bjjbase.com.s3-website-us-west-2.amazonaws.com',
:s3_credentials => {
:bucket => 'bjjbase.com'
}
不确定它是否重要,但我的机器在波兰华沙。