diff options
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/production.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index fa5f07495..750182402 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -50,6 +50,9 @@ Rails.application.configure do # Use a different logger for distributed setups. # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) + # Use a different cache store in production. + config.cache_store = :redis_store, ENV['REDIS_URL'], REDIS_CACHE_PARAMS + # Enable serving of images, stylesheets, and JavaScripts from an asset server. # config.action_controller.asset_host = 'http://assets.example.com' |