summary refs log tree commit
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2011-06-29 10:21:14 -0700
committerKonstantin Haase <konstantin.mailinglists@googlemail.com>2011-06-29 19:32:35 +0200
commit0caa3850241a935ae6ebfd6c22696c88381ee34e (patch)
treee1079d27190157a433aa29aa27b787e211278006
parent0d0527948fc2b3aecc87ce9dc428c68afb65e6c3 (diff)
downloadrack-0caa3850241a935ae6ebfd6c22696c88381ee34e.tar.gz
Minor error in documentation regarding the order of parameters in HTTP_X_ACCEL_MAPPING.
Conflicts:

	lib/rack/sendfile.rb
-rw-r--r--lib/rack/sendfile.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/rack/sendfile.rb b/lib/rack/sendfile.rb
index 645a8cfc..85d5ec27 100644
--- a/lib/rack/sendfile.rb
+++ b/lib/rack/sendfile.rb
@@ -52,10 +52,9 @@ module Rack
   #   }
   #
   # Note that the X-Sendfile-Type header must be set exactly as shown above. The
-  # X-Accel-Mapping header should specify the name of the private URL pattern,
-  # followed by an equals sign (=), followed by the location on the file system
-  # that it maps to. The middleware performs a simple substitution on the
-  # resulting path.
+  # 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.
   #
   # See Also: http://wiki.codemongers.com/NginxXSendfile
   #