summaryrefslogtreecommitdiff
path: root/other_conf/uwsgi.conf
blob: ad48d139dae31aad074b413a03140a7a03f29940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[uwsgi]
# Django-related settings
plugins = python
protocol = uwsgi
# the base directory (full path)
chdir           = /app/
# Django's wsgi file
wsgi-file       = /app/pwman/wsgi.py
# process-related settings
# master
master          = true
# maximum number of worker processes
processes       = 5
#threads        = 2
max-requests    = 5000
# the socket (use the full path to be safe
socket          = 0.0.0.0:8000
#socket          = /opt/pwman/pwman.sock