From 230e47cf9add841ba8f0245b7ce844a346c656af Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Thu, 24 May 2012 08:58:44 +0200 Subject: [PATCH] Documentation update. --- INSTALL | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index 29bff06b3..ba0a4334a 100644 --- a/INSTALL +++ b/INSTALL @@ -943,8 +943,12 @@ following inside:: PythonPath "[''] + sys.path" SetEnv DJANGO_SETTINGS_MODULE modoboa.settings - Alias "/static" "/static" - + Alias "/sitestatic" "/sitestatic" + + SetHandler None + + Alias "/media" "/media" + SetHandler None @@ -996,7 +1000,11 @@ following configuration:: access_log /var/log/nginx/.access.log; error_log /var/log/nginx/.error.log; - location /static/ { + location /sitestatic/ { + autoindex on; + } + + location /media/ { autoindex on; }