|
|
|
@ -96,7 +96,8 @@ Rails.application.configure do
|
|
|
|
|
config.active_record.belongs_to_required_by_default = false
|
|
|
|
|
|
|
|
|
|
# config.cache_store = :file_store, "#{Rails.root }/files/cache_store/"
|
|
|
|
|
config.cache_store = :redis_store, 'redis://r-bp122bd1b710f274.redis.rds.aliyuncs.com:6379/0/cache', { expires_in: 90.minutes }
|
|
|
|
|
#config.cache_store = :redis_store, 'redis://r-bp122bd1b710f274.redis.rds.aliyuncs.com:6379/0/cache', { expires_in: 90.minutes }
|
|
|
|
|
config.cache_store = :redis_store, 'redis://10.9.72.102:6379/0/cache', { expires_in: 90.minutes }
|
|
|
|
|
|
|
|
|
|
config.action_mailer.delivery_method = :smtp
|
|
|
|
|
config.action_mailer.smtp_settings = {
|
|
|
|
|