Added info about S3 region

This commit is contained in:
Espen Antonsen 2011-09-25 12:52:08 +08:00
parent 3cf5214de5
commit 9e5db12f61

View file

@ -2,8 +2,8 @@ CarrierWave.configure do |config|
config.fog_credentials = { config.fog_credentials = {
:provider => 'AWS', :provider => 'AWS',
:aws_access_key_id => ENV['S3_KEY'], :aws_access_key_id => ENV['S3_KEY'],
:aws_secret_access_key => ENV['S3_SECRET'], :aws_secret_access_key => ENV['S3_SECRET']
:region => 'us-east-1' # :region => ENV['S3_REGION'] # Change this for different AWS region. Default is 'us-east-1'
} }
config.fog_directory = ENV['S3_BUCKET'] config.fog_directory = ENV['S3_BUCKET']
end end