config:xsendfile
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
config:xsendfile [2009-01-23 00:01] – added a short info how to enable support on Apache andi | config:xsendfile [2015-05-06 06:51] (current) – More detailed instructions for nginx. PatrickBrown | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Configuration Setting: xsendfile ====== | ====== Configuration Setting: xsendfile ====== | ||
- | In DokuWiki all media files (e.g. [[: | + | In DokuWiki all media files (e.g. [[: |
This option enables sending of this header. Note: if you enable the wrong option here, your images and downloads may no longer work. | This option enables sending of this header. Note: if you enable the wrong option here, your images and downloads may no longer work. | ||
Line 16: | Line 16: | ||
| | | | ||
- | For X-SendFile support in Apache you need [[http://tn123.ath.cx/ | + | For X-SendFile support in Apache you need [[https://github.com/nmaier/ |
+ | |||
+ | Accelerated downloads in [[http:// | ||
+ | <code bash> | ||
+ | location ~ ^/ | ||
+ | internal; | ||
+ | root /public; | ||
+ | } | ||
+ | </ | ||
+ | The '' | ||
+ | <code bash> | ||
+ | location ~ ^/ | ||
+ | root /public; | ||
+ | # FastCGI options... | ||
+ | } | ||
+ | location ~ ^/ | ||
+ | internal; | ||
+ | alias / | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | {{: | ||
===== See also ===== | ===== See also ===== |
config/xsendfile.1232665291.txt.gz · Last modified: 2009-08-04 23:24 (external edit)