X-Sendfile <=> X-Accel-Redirect header

Alexander Lazic al-nginx at none.at
Sat Sep 2 21:27:01 MSD 2006


On Sam 02.09.2006 19:35, Igor Sysoev wrote:
>On Sat, 2 Sep 2006, Aleksandar Lazic wrote:
>
>>is behind yours X-Accel-Redirect the same idea as in X-Sendfile?!

[snipp]

>>If so is it possible to add X-Sendfile to
>>'ngx_http_upstream_headers_in[]' in src/http/ngx_http_upstream.c ;-)
>
>The "X-Accel-Redirect" header line is similar to the "X-Sendfile", but
>has two differences:

[nice explanation snipped]

Ah ok, I think I will look into it, thanks ;-)

>>BTW: I haven't seen a doc for this, have I overseen it?!
>
>It is still undocumented but well-known and used by Russian users.

Ah ok.

Regards

Alex





More information about the nginx mailing list