-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuwsgi.ini
44 lines (38 loc) · 1.06 KB
/
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
# uWSGI config for all envs.
# This file may be used for starting prod-like environment on local env
# usage:
# uwsgi --ini uwsgi.ini --chdir=`pwd`
#
# do not forget to collect static files
[uwsgi]
http-socket = :8080
chmod-socket = 777
chdir = /workspace/app
module = config.wsgi:application
static-map = /static=static
master = true
processes = 4
offload-threads = 4
vacuum = true
harakiri = 30
py-tracebacker = tracebacks.sock
max-requests = 10000
stats = :9191
memory-report = true
enable-threads = true
logger = internalservererror file:/tmp/uwsgi-errors.log
# auto-reading of POST content
# required when client sent HTTP POST request, but body
# wan't read by app as he does not have permission for
# this action
post-buffering = 1
# max request headers size
# i.e. how long URL may be
buffer-size = 16383
# this is default uid/gid for cnb user that we used inside
# the buildpack
uid = 1000
gid = 1000
# Graceful reload
touch-reload = uwsgi-reload
master-fifo = uwsgi-fifo