rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
* Correction to Rack::Sendfile documentation (X-Accel-Mapping)
@ 2012-03-14  6:04 Carlos
  2012-03-19  0:36 ` James Tucker
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos @ 2012-03-14  6:04 UTC (permalink / raw)
  To: rack-devel

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

Hi,

I believe there's a mistake in the Rack:Sendfile documentation @ 
http://rack.rubyforge.org/doc/Rack/Sendfile.html

proxy_set_header   X-Accel-Mapping     /files/=/var/www/;
should be
proxy_set_header   X-Accel-Mapping     */var/www/=/files/*;

Thanks,
Carlos

[-- Attachment #2: Type: text/html, Size: 474 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Correction to Rack::Sendfile documentation (X-Accel-Mapping)
  2012-03-14  6:04 Correction to Rack::Sendfile documentation (X-Accel-Mapping) Carlos
@ 2012-03-19  0:36 ` James Tucker
  0 siblings, 0 replies; 2+ messages in thread
From: James Tucker @ 2012-03-19  0:36 UTC (permalink / raw)
  To: rack-devel

[-- Attachment #1: Type: text/plain, Size: 382 bytes --]

https://github.com/rack/rack/pull/200

On Mar 13, 2012, at 11:04 PM, Carlos wrote:

> Hi,
> 
> I believe there's a mistake in the Rack:Sendfile documentation @ http://rack.rubyforge.org/doc/Rack/Sendfile.html
> 
> proxy_set_header   X-Accel-Mapping     /files/=/var/www/;
> should be
> proxy_set_header   X-Accel-Mapping     /var/www/=/files/;
> 
> Thanks,
> Carlos


[-- Attachment #2: Type: text/html, Size: 858 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-19  0:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-14  6:04 Correction to Rack::Sendfile documentation (X-Accel-Mapping) Carlos
2012-03-19  0:36 ` James Tucker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).