aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-16 16:09:41 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-16 16:09:41 -0300
commitfde7858ed61b00442b0943fc75eb8d175429ee17 (patch)
treeca3f4828dc853580c0ea46fca77a0217a77bcc45
parent1bdb233bc22cbd2e557d2e0ccca21f04b15eb65a (diff)
parentc9213e10337832998f1aedba7bddce38947b7330 (diff)
downloadrails-fde7858ed61b00442b0943fc75eb8d175429ee17.tar.gz
rails-fde7858ed61b00442b0943fc75eb8d175429ee17.tar.bz2
rails-fde7858ed61b00442b0943fc75eb8d175429ee17.zip
Merge pull request #16841 from tjouan/environment-config-consistency
Improve environment config templates consistency
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt7
1 files changed, 4 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
index 2cd8040f35..92ff0de030 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
+++ b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
@@ -16,7 +16,8 @@ Rails.application.configure do
# Enable Rack::Cache to put a simple HTTP cache in front of your application
# Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like NGINX, varnish or squid.
+ # For large-scale production use, consider using a caching reverse proxy like
+ # NGINX, varnish or squid.
# config.action_dispatch.rack_cache = true
# Disable Rails's static asset server (Apache or NGINX will already do this).
@@ -38,7 +39,7 @@ Rails.application.configure do
<%- end -%>
# Specifies the header that your server uses for sending files.
- # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
@@ -57,7 +58,7 @@ Rails.application.configure do
# config.cache_store = :mem_cache_store
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = "http://assets.example.com"
+ # config.action_controller.asset_host = 'http://assets.example.com'
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.