Permalink
Browse files

Turn off X-Sendfile in example app

  • Loading branch information...
1 parent 6647087 commit 5e031e17fa25bb39fff4cc4fc27acc3d3c7b22b6 @nicksieger committed Aug 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/rails3/config/environments/production.rb
@@ -16,7 +16,7 @@
# Specifies the header that your server uses for sending files
# (comment out if your front-end server doesn't support this)
- config.action_dispatch.x_sendfile_header = "X-Sendfile" # Use 'X-Accel-Redirect' for nginx
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # Use 'X-Accel-Redirect' for nginx
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true

0 comments on commit 5e031e1

Please sign in to comment.