Skip to content

Commit

Permalink
Removed X-Sendfile for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayle authored and Kayle committed Feb 24, 2011
1 parent 3b47867 commit 4ca7d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rails/config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
config.action_controller.perform_caching = true

# Specifies the header that your server uses for sending files
config.action_dispatch.x_sendfile_header = "X-Sendfile"
# config.action_dispatch.x_sendfile_header = "X-Sendfile"

# For nginx:
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
Expand Down

0 comments on commit 4ca7d5b

Please sign in to comment.