Permalink
Browse files

minor change in the documentation to explain how the X-Accel-Redirect…

… header must be set.
  • Loading branch information...
1 parent a315465 commit beb4f2b30ce22986ce78f3d5a4073e723249e52a @nleguen nleguen committed Jul 15, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 lib/rack/sendfile.rb
@@ -46,10 +46,11 @@ module Rack
# proxy_pass http://127.0.0.1:8080/;
# }
#
- # Note that the X-Sendfile-Type header must be set exactly as shown above. The
- # X-Accel-Mapping header should specify the internal URI path, followed by an
- # equals sign (=), followed name of the location in the file system that it maps
- # to. The middleware performs a simple substitution on the resulting path.
+ # Note that the X-Sendfile-Type header must be set exactly as shown above.
+ # The X-Accel-Mapping header should specify the location on the file system,
+ # followed by an equals sign (=), followed name of the private URL pattern
+ # that it maps to. The middleware performs a simple substitution on the
+ # resulting path.
#
# See Also: http://wiki.codemongers.com/NginxXSendfile
#

0 comments on commit beb4f2b

Please sign in to comment.