comparison config/environments/production.rb @ 50:3f419d621b06

Rename config option. Changed in rails 4.2.
author nanaya <me@myconan.net>
date Thu, 23 Apr 2015 16:30:47 +0900
parents efc548be0a3a
children 257910c60eb3
comparison
equal deleted inserted replaced
49:929218b3b2e2 50:3f419d621b06
18 # Add `rack-cache` to your Gemfile before enabling this. 18 # Add `rack-cache` to your Gemfile before enabling this.
19 # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid. 19 # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
20 # config.action_dispatch.rack_cache = true 20 # config.action_dispatch.rack_cache = true
21 21
22 # Disable Rails's static asset server (Apache or nginx will already do this). 22 # Disable Rails's static asset server (Apache or nginx will already do this).
23 config.serve_static_assets = false 23 config.serve_static_files = false
24 24
25 # Specifies the header that your server uses for sending files. 25 # Specifies the header that your server uses for sending files.
26 # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache 26 # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
27 # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx 27 # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
28 28