|
14 | 14 | config.consider_all_requests_local = false |
15 | 15 | config.action_controller.perform_caching = true |
16 | 16 |
|
| 17 | + # Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"] |
| 18 | + # or in config/master.key. This key is used to decrypt credentials (and other encrypted files). |
| 19 | + # config.require_master_key = true |
| 20 | + |
17 | 21 | # Disable serving static files from the `/public` folder by default since |
18 | 22 | # Apache or NGINX already handles this. |
19 | 23 | config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? |
|
34 | 38 | # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache |
35 | 39 | # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX |
36 | 40 |
|
37 | | - # Mount Action Cable outside main process or domain |
38 | | - # config.action_cable.mount_path = nil |
39 | | - # config.action_cable.url = 'wss://example.com/cable' |
40 | | - # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ] |
| 41 | + # Store uploaded files on the local file system (see config/storage.yml for options) |
| 42 | + # config.active_storage.service = :local |
41 | 43 |
|
42 | 44 | # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. |
43 | 45 | # config.force_ssl = true |
|
55 | 57 | # Use a real queuing backend for Active Job (and separate queues per environment) |
56 | 58 | # config.active_job.queue_adapter = :resque |
57 | 59 | # config.active_job.queue_name_prefix = "dummy_#{Rails.env}" |
| 60 | + |
58 | 61 | config.action_mailer.perform_caching = false |
59 | 62 |
|
60 | 63 | # Ignore bad email addresses and do not raise email delivery errors. |
|
78 | 81 | if ENV["RAILS_LOG_TO_STDOUT"].present? |
79 | 82 | logger = ActiveSupport::Logger.new(STDOUT) |
80 | 83 | logger.formatter = config.log_formatter |
81 | | - config.logger = ActiveSupport::TaggedLogging.new(logger) |
| 84 | + config.logger = ActiveSupport::TaggedLogging.new(logger) |
82 | 85 | end |
83 | 86 |
|
84 | 87 | # Do not dump schema after migrations. |
|
0 commit comments