Added a FAQ entry explaining how to enable x-sendfile support for apache
This commit is contained in:
@@ -51,8 +51,16 @@
|
|||||||
- Filesystem metadata indexing will not work with this storage backend as
|
- Filesystem metadata indexing will not work with this storage backend as
|
||||||
file are inside a MongoDB database and can't be linked (at least for now)
|
file are inside a MongoDB database and can't be linked (at least for now)
|
||||||
|
|
||||||
|
|
||||||
* Site search is slow
|
* Site search is slow
|
||||||
- Add indexes to the following fields:
|
- Add indexes to the following fields:
|
||||||
documents_document - description, recomended size: 160
|
documents_document - description, recomended size: 160
|
||||||
documents_documentmetadata - value, recomended size: 80
|
documents_documentmetadata - value, recomended size: 80
|
||||||
documents_documentpage - content, recomended size: 3000
|
documents_documentpage - content, recomended size: 3000
|
||||||
|
|
||||||
|
|
||||||
|
* How to enable x-sendile support for Apache
|
||||||
|
- Add SENDFILE_BACKEND = 'sendfile.backends.xsendfile' to your settings.py file
|
||||||
|
- On your apache configuration file add:
|
||||||
|
XSendFile on
|
||||||
|
XSendFileAllowAbove on
|
||||||
|
|||||||
Reference in New Issue
Block a user