Fine tuning of this parameter is no longer required in Rails 3.1, but if you are updating previous versions of 3.1 RC, either comment out the x_sendfile_header parameter or set it to nil in the production.rb file
config.action_dispatch.x_sendfile_header = nil
This parameter is recommended in Heroku docs .
source share