File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 22
22
23
23
# Disable serving static files from `public/`, relying on NGINX/Apache to do so instead.
24
24
# config.public_file_server.enabled = false
25
- # config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
25
27
26
# Compress CSS using a preprocessor.
28
27
# config.assets.css_compressor = :sass
52
51
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
53
52
config . force_ssl = true
54
53
54
+ # Skip http-to-https redirect for the default health check endpoint.
55
+ # config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
56
+
55
57
# Log to STDOUT by default
56
58
config . logger = ActiveSupport ::Logger . new ( STDOUT )
57
59
. tap { |logger | logger . formatter = ::Logger ::Formatter . new }
72
74
# config.active_job.queue_adapter = :resque
73
75
# config.active_job.queue_name_prefix = "coderdojo_jp_production"
74
76
77
+ # Disable caching for Action Mailer templates even if Action Controller
78
+ # caching is enabled.
75
79
config . action_mailer . perform_caching = false
76
80
77
81
# Ignore bad email addresses and do not raise email delivery errors.
88
92
# Do not dump schema after migrations.
89
93
config . active_record . dump_schema_after_migration = false
90
94
95
+ # Only use :id for inspections in production.
96
+ config . active_record . attributes_for_inspect = [ :id ]
97
+
91
98
# Enable DNS rebinding protection and other `Host` header attacks.
92
99
# config.hosts = [
93
100
# "example.com", # Allow requests from example.com
You can’t perform that action at this time.
0 commit comments