summaryrefslogtreecommitdiff
path: root/config/django.ini
blob: 4cf96973b9e129c4fbc49e2153c70e4555b40613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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)
socket = /run/uwsgi/%n.sock

uid = http 
gid = http 
chmod-socket = 664
chown-socket = http:http

# the base directory
chdir = /home/lxf/sites/luxagraf

# django's wsgi file
module = config.wsgi
# the virtualenv
home = /home/lxf/sites/luxagraf/venv

buffer-size =65535
#plugin=python
limit-as = 1024
limit-post = 0
# clear environment on exit
vacuum = true
logto = /var/log/uwsgi/luxagraf.log
logfile-chown = http:http
logfile-chmod = 664