2018-08-10 11:44:52 +00:00
|
|
|
[uwsgi]
|
2018-08-12 13:21:40 +00:00
|
|
|
# chdir to the folder of this config file
|
|
|
|
chdir = %d/
|
2018-08-10 11:44:52 +00:00
|
|
|
|
2018-08-12 13:21:40 +00:00
|
|
|
# load Django's wsgi.py for this application
|
|
|
|
module = arrowcounter.wsgi:application
|
2018-08-10 11:44:52 +00:00
|
|
|
|
2019-04-28 14:31:45 +00:00
|
|
|
# serve static files under the global static dir
|
|
|
|
static-map2 = /static=%d
|
2018-08-12 13:21:40 +00:00
|
|
|
static-expires = /* 7776000
|
|
|
|
offload-threads = %k
|
2018-08-10 11:44:52 +00:00
|
|
|
|
2018-08-12 13:21:40 +00:00
|
|
|
socket = 0.0.0.0:8000
|
|
|
|
master = true
|
|
|
|
processes = 4
|
2018-08-10 11:44:52 +00:00
|
|
|
|
|
|
|
|