- [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 = 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
|