Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[ci skip] Add explanation on Rack::Sendfile and fix serve static file…

…s setting.
  • Loading branch information...
1 parent cb8174c commit 2bd7b1e5b944d6a8ae8de11da10a8d7805ab8a94 @JuanitoFatas JuanitoFatas committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 guides/source/
6 guides/source/
@@ -225,9 +225,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 2bd7b1e

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