diff options
-rw-r--r-- | config/django.ini | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/config/django.ini b/config/django.ini index 711891c..4cf9697 100644 --- a/config/django.ini +++ b/config/django.ini @@ -1,25 +1,26 @@ # django.ini file [uwsgi] +plugins = python # maximum number of processes processes = 4 max-requests = 5000 enable-threads = true # the socket (use the full path to be safe) -uid = http -gid = http +socket = /run/uwsgi/%n.sock -socket = /tmp/uwsgi.sock +uid = http +gid = http chmod-socket = 664 -chown-socket = www-data:www-data +chown-socket = http:http # the base directory -chdir = /home/lxf/sites/django +chdir = /home/lxf/sites/luxagraf # django's wsgi file module = config.wsgi # the virtualenv -home = /home/lxf/sites/django/venv +home = /home/lxf/sites/luxagraf/venv buffer-size =65535 #plugin=python @@ -27,4 +28,6 @@ limit-as = 1024 limit-post = 0 # clear environment on exit vacuum = true -logto = /var/log/uwsgi/django.log +logto = /var/log/uwsgi/luxagraf.log +logfile-chown = http:http +logfile-chmod = 664 |