Skip to content
Browse files

Merge pull request #12283 from JuanitoFatas/rails-on-rack

[ci skip] Add explanation on Rack::Sendfile middleware in
  • Loading branch information...
1 parent 582a90c commit cfd9186e34a25a29f7cd2018e91548f5d1be22af @senny senny committed Oct 9, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 guides/source/
6 guides/source/
@@ -224,9 +224,13 @@ config.middleware.delete "Rack::MethodOverride"
Much of Action Controller's functionality is implemented as Middlewares. The following list explains the purpose of each of them:
+ **`Rack::Sendfile`**
+* Sets server specific X-Sendfile header. Configure this via `config.action_dispatch.x_sendfile_header` option.
-* Used to serve static assets. Disabled if `config.serve_static_assets` is true.
+* Used to serve static assets. Disabled if `config.serve_static_assets` is `false`.

0 comments on commit cfd9186

Please sign in to comment.
Something went wrong with that request. Please try again.