X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/c4ec253cd69546987dc20dec4c9be9e3867986f2..355e42bc8f0f5300c34066b41a2b94ffe2bfe657:/fnpdjango/deploy/templates/localsettings.py.template diff --git a/fnpdjango/deploy/templates/localsettings.py.template b/fnpdjango/deploy/templates/localsettings.py.template index 551e00f..f0fa8b1 100644 --- a/fnpdjango/deploy/templates/localsettings.py.template +++ b/fnpdjango/deploy/templates/localsettings.py.template @@ -17,8 +17,17 @@ DATABASES = { } SECRET_KEY = '%(secret_key)s' +ALLOWED_HOSTS = ( + '%(project_name)s.nowoczesnapolska.org.pl', +) + PIWIK_URL = 'http://piwik.nowoczesnapolska.org.pl/' PIWIK_TOKEN = '' MEDIA_ROOT = '%(app_path)s/media/' STATIC_ROOT = '%(app_path)s/static/' + + +# Those should be set to True if you are behind Nginx. +FNPDJANGO_REALIP = True +FNPDJANGO_XACCEL = True