fnp
/
fnpdjango.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
deploy: set secret_key on setup
[fnpdjango.git]
/
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
(file)
--- 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