Reduce Fog expiration period to 17 years

This commit is contained in:
Jacob Vosmaer 2013-12-11 15:23:21 +01:00
parent 3e57d88e57
commit 7cb75aeb46
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ if File.exists?(aws_file)
config.fog_directory = AWS_CONFIG['bucket'] # required
config.fog_public = false # optional, defaults to true
config.fog_attributes = {'Cache-Control'=>'max-age=315576000'} # optional, defaults to {}
config.fog_authenticated_url_expiration = 1 << 30 # optional time (in seconds) that authenticated urls will be valid.
config.fog_authenticated_url_expiration = 1 << 29 # optional time (in seconds) that authenticated urls will be valid.
# when fog_public is false and provider is AWS or Google, defaults to 600
end
end