Skip to content
This repository
Browse code

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

[ci skip] Add explanation on Rack::Sendfile middleware in rails_on_rack.md.
  • Loading branch information...
commit a0c0c1cbc1c092c4488389b9fb2faba5cb21a913 2 parents 47ee9fe + 2bd7b1e
Yves Senn authored October 09, 2013

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  guides/source/rails_on_rack.md
6  guides/source/rails_on_rack.md
Source Rendered
@@ -225,9 +225,13 @@ config.middleware.delete "Rack::MethodOverride"
225 225
 
226 226
 Much of Action Controller's functionality is implemented as Middlewares. The following list explains the purpose of each of them:
227 227
 
  228
+ **`Rack::Sendfile`**
  229
+
  230
+* Sets server specific X-Sendfile header. Configure this via `config.action_dispatch.x_sendfile_header` option.
  231
+
228 232
  **`ActionDispatch::Static`**
229 233
 
230  
-* Used to serve static assets. Disabled if `config.serve_static_assets` is true.
  234
+* Used to serve static assets. Disabled if `config.serve_static_assets` is `false`.
231 235
 
232 236
  **`Rack::Lock`**
233 237
 

0 notes on commit a0c0c1c

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