summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/gunicorn_config.py4
-rw-r--r--config/settings/settings.py7
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'