Correction to Rack::Sendfile documentation (X-Accel-Mapping)

32 views
Skip to first unread message

Carlos

unread,
Mar 14, 2012, 2:04:12 AM3/14/12
to rack-...@googlegroups.com
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

James Tucker

unread,
Mar 18, 2012, 8:36:25 PM3/18/12
to rack-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages