[horde] ansel & nginx & xsendfile patch
Andreas Schulze
sca at andreasschulze.de
Sat Sep 7 08:32:42 UTC 2013
Hello,
Using ansel with nginx webserver and xsendfile feature is not implemented now.
So I wrote a little patch. It simply add the nginx specific header to
the relevant places.
Now I could extend nginx.conf:
location /x-sendfile/ {
internal;
alias /;
}
That work for me. If others like the patch it should be extended to
distinguish
lighttpd and nginx. I expect nginx or lighttp don't remove the header
indended for the other server.
That will disclose file system location information. That may be unwanted.
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx-xsendfile.patch
Type: text/x-diff
Size: 3519 bytes
Desc: not available
URL: <http://lists.horde.org/archives/horde/attachments/20130907/2d7f5b3e/attachment.bin>
More information about the horde
mailing list