uwsgi env DJANGO_SETTINGS_MODU LE lbb settings common chdir opt webapp

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
[uwsgi]
env=DJANGO_SETTINGS_MODULE=lbb.settings.common
chdir = /opt/webapp
module=lbb.wsgi:application
max-requests=5000
buffer-size=32768
reload-mercy=10
master=1
no-orphans=1
workers=8
enable-threads=1
single-interpreter=1
http-socket = :8000