[asset pipeline] update snippet to reflect patch

Two commented lines in example to match the
commit (8845ae683e)
This commit is contained in:
Richard Hulse 2011-08-08 22:21:25 +12:00 committed by Xavier Noria
parent 32da2f864e
commit 49e81f21a3
1 changed files with 2 additions and 1 deletions

View File

@ -390,7 +390,8 @@ The X-Sendfile header is a directive to the server to ignore the response from t
Apache and nginx support this option which is enabled in <tt>config/environments/production.rb</tt>.
<erb>
config.action_dispatch.x_sendfile_header = "X-Sendfile" # Use 'X-Accel-Redirect' for nginx
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
</erb>
WARNING: If you are upgrading an existing application and intend to use this option, take care to paste this configuration option only into +production.rb+ (and not +application.rb+) and any other environment you define with production behavior.