summaryrefslogtreecommitdiff
path: root/config/django.ini
blob: c135f09318abc3d65c37f2bffd70e8fccc21ea08 (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
# django.ini file
[uwsgi]

# maximum number of processes
processes               = 4
max-requests = 5000
enable-threads = true
# the socket (use the full path to be safe)
uid = www-data
gid = www-data

socket = /tmp/uwsgi.sock
chmod-socket = 664
chown-socket = www-data:www-data

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

# django's wsgi file
module          =config.wsgi

# the virtualenv
home            = /home/lxf/apps/luxagraf/venv

buffer-size     =65535
#plugin=python
limit-as = 2048
# clear environment on exit
vacuum          = true