X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/218e31d1bc487866571736e4aa94180fd00884e3..e3e64345fd5d77b43dd4067a1d7ae161d34f822d:/fnpdjango/deploy/templates/localsettings.py.template diff --git a/fnpdjango/deploy/templates/localsettings.py.template b/fnpdjango/deploy/templates/localsettings.py.template index 5f60b61..f0fa8b1 100644 --- a/fnpdjango/deploy/templates/localsettings.py.template +++ b/fnpdjango/deploy/templates/localsettings.py.template @@ -27,5 +27,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