gunicorn sample fix
[fnpdjango.git] / fnpdjango / deploy / templates / localsettings.py.template
index 5f60b61..3230579 100644 (file)
@@ -1,3 +1,5 @@
+# Review this file and copy it to %(app_path)s/localsettings.py
+
 ADMINS = (
     ('Lista IT', 'it@listy.nowoczesnapolska.org.pl'),
 )
@@ -27,5 +29,7 @@ PIWIK_TOKEN = ''
 MEDIA_ROOT = '%(app_path)s/media/'
 STATIC_ROOT = '%(app_path)s/static/'
 
-FNPDJANGO_REALIP = False
-FNPDJANGO_XACCEL = False
+
+# Those should be set to True if you are behind Nginx.
+FNPDJANGO_REALIP = True
+FNPDJANGO_XACCEL = True