diff options
author | luxagraf <sng@luxagraf.net> | 2017-09-23 16:48:54 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2017-09-23 16:48:54 -0500 |
commit | 821fc221c86cd0630042aecc4bb6cddd9464208b (patch) | |
tree | 8c3479b1315deeb55e78886ccbe1b9583f90ddbc /config/django.ini | |
parent | ef2fbc67a923e4d39f0497943c11dc1eaeb74f5d (diff) |
pulled in changes on arch server
Diffstat (limited to 'config/django.ini')
-rw-r--r-- | config/django.ini | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/config/django.ini b/config/django.ini index f1e961e..bbb8413 100644 --- a/config/django.ini +++ b/config/django.ini @@ -1,30 +1,31 @@ # django.ini file [uwsgi] +plugin = python # maximum number of processes -processes = 4 +processes = 4 max-requests = 5000 enable-threads = true # the socket (use the full path to be safe) -uid = www-data -gid = www-data +uid = http +gid = http -socket = /tmp/uwsgi.sock +socket = /run/uwsgi/uwsgi.sock chmod-socket = 664 -chown-socket = www-data:www-data +chown-socket = http:http # the base directory -chdir = /home/lxf/apps/luxagraf +chdir = /home/lxf/apps/luxagraf # django's wsgi file -module =config.wsgi +module = config.wsgi # the virtualenv -home = /home/lxf/apps/luxagraf/venv +home = /home/lxf/apps/luxagraf/venv -buffer-size =65535 +buffer-size =65535 #plugin=python -limit-as = 2048 +limit-as = 1024 limit-post = 0 # clear environment on exit -vacuum = true - +vacuum = true +logto = /var/log/uwsgi/test.log |