CarrierWave.configure do |config|
  config.fog_credentials = {
    :provider               => 'AWS',
    :aws_access_key_id      => ENV['AWS_ACCESS_KEY'],
    :aws_secret_access_key  => ENV['AWS_ACCESS_SECRET'],
  }
  config.fog_directory  = 'quoty'
  config.fog_attributes = {'Cache-Control'=>'max-age=315576000'}
end
CarrierWave.configure do |config|
  config.fog_credentials = {
    provider:               'AWS',
    aws_access_key_id:      ENV['AWS_ACCESS_KEY'],
    aws_secret_access_key:  ENV['AWS_ACCESS_SECRET'],
    region:                 'ap-northeast-1'
  }
  config.fog_directory  = 'quoty'
  config.fog_attributes = {'Cache-Control'=>'max-age=315576000'}
end

Set region for s3 credentials
Set region for s3 credentials
