mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-11-14 06:01:33 +01:00
21 lines
301 B
INI
21 lines
301 B
INI
|
[uwsgi]
|
||
|
plugins = python
|
||
|
|
||
|
wsgi-file = wsgi.py
|
||
|
callable = app
|
||
|
# Or: module = wsgi:app
|
||
|
|
||
|
socket = :8080
|
||
|
# Or: socket = flask_server.sock
|
||
|
chmod-socket = 660
|
||
|
|
||
|
processes = 8
|
||
|
threads = 2
|
||
|
master = true
|
||
|
|
||
|
vacuum = true
|
||
|
die-on-term = true
|
||
|
# enable-threads = true #enable threads support
|
||
|
|
||
|
env = LANG=en_US.UTF-8
|