30 lines
459 B
INI
30 lines
459 B
INI
[uwsgi]
|
|
# emperor
|
|
chdir = ..
|
|
|
|
# socket = [addr:port]
|
|
socket = oofsgi/uwsgi.sock
|
|
chmod-socket = 664
|
|
|
|
# WSGI module and callable
|
|
# module = [wsgi_module_name]:[application_callable_name]
|
|
module = WSGI:app
|
|
|
|
# master = [master process (true of false)]
|
|
master = true
|
|
|
|
# debugging
|
|
catch-exceptions = True
|
|
|
|
# disable request logging
|
|
disable-logging=True
|
|
|
|
# performance
|
|
processes = 4
|
|
buffer-size = 8192
|
|
|
|
# async
|
|
loop = gevent
|
|
gevent = 2048
|
|
gevent-monkey-patch = true
|