Removes X-Sendfile header

This commit is contained in:
Thomas Buchöster
2013-01-11 23:48:11 +01:00
parent 8ac287e8bd
commit 1ef301edc6
+2 -2
View File
@@ -11,7 +11,7 @@ Nineminutes::Application.configure do
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'
@@ -61,7 +61,7 @@ Nineminutes::Application.configure do
# config.assets.manifest = YOUR_PATH
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
config.assets.precompile += %w[*.png *.jpg *.jpeg *.gif]
# config.assets.precompile += %w()
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true