Skip to content

Commit

Permalink
Turn off X-Sendfile in example app
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksieger committed Aug 16, 2011
1 parent 6647087 commit 5e031e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rails3/config/environments/production.rb
Expand Up @@ -16,7 +16,7 @@


# Specifies the header that your server uses for sending files # Specifies the header that your server uses for sending files
# (comment out if your front-end server doesn't support this) # (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. # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true # config.force_ssl = true
Expand Down

0 comments on commit 5e031e1

Please sign in to comment.