Provide the minimal applications and plugins for: cgi, filelog, syslog and python3. More plugins can be added if needed by other packages. Autostart uwsgi in emperor mode loading vassals on demand. For now, include luci-support (maybe it will be moved to another package), which uses the syslog plugin by default. Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
31 lines
674 B
INI
31 lines
674 B
INI
[uwsgi]
|
|
strict = true
|
|
if-not-env = UWSGI_EMPEROR_FD
|
|
socket = /var/run/luci-cgi_io.socket
|
|
chmod-socket = 666
|
|
cheap = true
|
|
end-if =
|
|
plugin = cgi
|
|
cgi-mode = true
|
|
cgi = /www/
|
|
chdir = /usr/lib/lua/luci/
|
|
buffer-size = 10000
|
|
reload-mercy = 8
|
|
max-requests = 2000
|
|
limit-as = 200
|
|
reload-on-as = 256
|
|
reload-on-rss = 192
|
|
no-orphans = true
|
|
post-buffering = 8192
|
|
socket-timeout = 120
|
|
thunder-lock = true
|
|
plugin = syslog
|
|
disable-logging = true
|
|
req-logger = syslog:uwsgi-luci-cgi_io
|
|
log-format=%(method) %(uri) => return %(status) (%(rsize) bytes in %(msecs) ms)
|
|
chmod-socket = 666
|
|
cgi-safe = /usr/libexec/cgi-io
|
|
cgi-dontresolve = true
|
|
cgi-close-stdin-on-eof = true
|
|
cheap = true
|
|
idle = 360
|