From ed64e96c8182593b87844a211403814d2865bc95 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 6 Apr 2011 17:51:49 +0200 Subject: [PATCH] sendfile settings --- oxdata/settings.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/oxdata/settings.py b/oxdata/settings.py index f033f94..eef2879 100644 --- a/oxdata/settings.py +++ b/oxdata/settings.py @@ -34,6 +34,14 @@ TIME_ZONE = 'Europe/Berlin' # http://www.i18nguy.com/unicode/language-identifiers.html LANGUAGE_CODE = 'en-us' + +#with apache x-sendfile or lighttpd set this to True +XSENDFILE = False + +#with nginx X-Accel-Redirect set this to True +XACCELREDIRECT = False + + SITE_ID = 1 # If you set this to False, Django will make some optimizations so as not