aboutsummaryrefslogtreecommitdiff
path: root/lib/uwsgi/patchwork.ini
blob: fc0f0ed2625d6a342569090ff1c0ceb9fc81cd58 (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
[uwsgi]

plugins = python27

project = patchwork
base = /opt
user = www-data
group = www-data

chdir = %(base)/%(project)
pythonpath = %(base)/%(project)
module = %(project).wsgi:application

master = true
processes = 5
# increase buffer size to avoid "502 bad gateway error"
# "recv() failed (104: Connection reset by peer) while reading response header from upstream"
buffer-size = 16384

uid = %(user)
gid = %(group)

daemonize = /var/log/%(project).log
socket = /run/uwsgi/%(project).sock
chmod-socket = 660
vacuum = true