diff options
Diffstat (limited to 'lib/uwsgi/patchwork.ini')
-rw-r--r-- | lib/uwsgi/patchwork.ini | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/uwsgi/patchwork.ini b/lib/uwsgi/patchwork.ini new file mode 100644 index 0000000..4f5dc90 --- /dev/null +++ b/lib/uwsgi/patchwork.ini @@ -0,0 +1,24 @@ +[uwsgi] + +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 |