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; }