X-Sendfile <=> X-Accel-Redirect header
Aleksandar Lazic
al-nginx at none.at
Sat Sep 2 12:21:15 MSD 2006
Hi,
is behind yours X-Accel-Redirect the same idea as in X-Sendfile?!
http://celebnamer.celebworld.ws/stuff/mod_xsendfile/
---
.
.
If it encounters the presence of such header it will discard all output
and send the file specified by that header instead using Apache
internals including all optimizations like caching-headers and sendfile
or mmap if configured.
.
.
---
If so is it possible to add X-Sendfile to
'ngx_http_upstream_headers_in[]' in src/http/ngx_http_upstream.c ;-)
BTW: I haven't seen a doc for this, have I overseen it?!
Regards
Aleks
More information about the nginx
mailing list