mirror of
https://github.com/openwrt/packages.git
synced 2025-02-14 13:48:04 +00:00
32 lines
677 B
INI
32 lines
677 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/ucode/luci/
|
|
buffer-size = 10000
|
|
reload-mercy = 8
|
|
max-requests = 2000
|
|
limit-as = 1000
|
|
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
|