mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-23 04:20:00 +00:00
35 lines
540 B
INI
35 lines
540 B
INI
|
[uwsgi]
|
||
|
# socket = [addr:port]
|
||
|
socket = 0.0.0.0:5000
|
||
|
#chmod-socket = 664
|
||
|
|
||
|
die-on-term = true
|
||
|
|
||
|
# logging
|
||
|
#disable-logging = True
|
||
|
#logger = file:uwsgi.log
|
||
|
|
||
|
# Base application directory
|
||
|
chdir = /nyaa
|
||
|
|
||
|
# 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
|
||
|
|
||
|
# performance
|
||
|
processes = 4
|
||
|
buffer-size = 8192
|
||
|
|
||
|
loop = gevent
|
||
|
socket-timeout = 10
|
||
|
gevent = 1000
|
||
|
gevent-monkey-patch = true
|
||
|
|
||
|
py-autoreload = 2
|