diff options
author | luxagraf <sng@luxagraf.net> | 2014-05-28 03:15:17 +0000 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2014-05-28 03:15:17 +0000 |
commit | d6379dbc06393d286eedfd19c842f824100f2968 (patch) | |
tree | 33202251b122aa0d9a12ba47c6ceedbf7b8b1012 /config | |
parent | f840e5310215ffb894ea8a648ea03d463d029fbc (diff) |
bug fixes, lots o bugs
Diffstat (limited to 'config')
-rw-r--r-- | config/gunicorn_config.py | 4 | ||||
-rw-r--r-- | config/settings/settings.py | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/config/gunicorn_config.py b/config/gunicorn_config.py index d918946..a3b4414 100644 --- a/config/gunicorn_config.py +++ b/config/gunicorn_config.py @@ -3,7 +3,7 @@ PROJ_ROOT = abspath(dirname(dirname(dirname(__file__))))+'/' command = join(PROJ_ROOT, "/venv/bin/gunicorn") pythonpath = PROJ_ROOT bind = '127.0.0.1:8001' -workers = 3 +workers = 2 log_level = "warning" -error_logfile = "/home/luxagraf/logs/origin.gunicorn.error.log" +error_logfile = "/home/lxf/logs/live.gunicorn.error.log" diff --git a/config/settings/settings.py b/config/settings/settings.py index 9896c7a..1032b52 100644 --- a/config/settings/settings.py +++ b/config/settings/settings.py @@ -3,7 +3,7 @@ from os.path import dirname, abspath PROJ_ROOT = abspath(dirname(dirname(dirname(__file__)))) + '/' -DEBUG = True +DEBUG = False TEMPLATE_DEBUG = DEBUG ADMINS = ( @@ -37,7 +37,10 @@ EMAIL_HOST_USER = 'sendluxagraf@gmail.com' EMAIL_HOST_PASSWORD = '^C9XZz55UJ@j2@5XNU' EMAIL_PORT = 587 - +ALLOWED_HOSTS = ( + 'live.luxagraf.net', + 'demo.luxagraf.net', +) # API key for Flickr imports FLICKR_API_KEY = '7b9d978a440c6ab65a545adc0aa0d693' FLICKR_API_SECRET = '42ad60f04745cd9b' |