master
1AssetSync.configure do |config|
2 config.fog_provider = 'AWS'
3 config.aws_access_key_id = ENV['AWS_ACCESS_KEY_ID']
4 config.aws_secret_access_key = ENV['AWS_SECRET_ACCESS_KEY']
5 # To use AWS reduced redundancy storage.
6 # config.aws_reduced_redundancy = true
7 config.fog_directory = ENV['FOG_DIRECTORY']
8
9 # Invalidate a file on a cdn after uploading files
10 # config.cdn_distribution_id = "12345"
11 # config.invalidate = ['file1.js']
12
13 # Increase upload performance by configuring your region
14 # config.fog_region = 'eu-west-1'
15 #
16 # Don't delete files from the store
17 config.existing_remote_files = "keep"
18
19 # Automatically replace files with their equivalent gzip compressed version
20 config.gzip_compression = true
21
22 # Use the Rails generated 'manifest.yml' file to produce the list of files to
23 # upload instead of searching the assets directory.
24 # config.manifest = true
25 #
26 # Fail silently. Useful for environments such as Heroku
27 # config.fail_silently = true
28end