/
uwsgi.ini
47 lines (34 loc) · 872 Bytes
/
uwsgi.ini
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#myweb_uwsgi.ini file
[uwsgi]
# Django-related settings
socket = :8001
#http = :8001
# the base directory (full path)
chdir = /usr/share/nginx/html/Auth/publicAuth
# Django s wsgi file
module = publicAuth.wsgi
#wsgi.py
wsgi-file = /usr/share/nginx/html/Auth/publicAuth/publicAuth/wsgi.py
# process-related settings
# master
master = true
workers=5
# maximum number of worker processes
processes = 8
#thunder-lock = true
enable-threads = true
#thread numbers startched in each worker process
threads = 2
http-keepalive = 1
#socket = /home/mali/git/publicAuth/mysite.sock
# ... with appropriate permissions - may be needed
# chmod-socket = 664
# clear environment on exit
vacuum = true
#pid process
pidfile=uwsgi.pid
#log
daemonize=uwsgi.log
post-buffering = 4096
uwsgi_read_timeout=600
harakiri =1200