You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
674 B

  1. [uwsgi]
  2. strict = true
  3. if-not-env = UWSGI_EMPEROR_FD
  4. socket = /var/run/luci-cgi_io.socket
  5. chmod-socket = 666
  6. cheap = true
  7. end-if =
  8. plugin = cgi
  9. cgi-mode = true
  10. cgi = /www/
  11. chdir = /usr/lib/lua/luci/
  12. buffer-size = 10000
  13. reload-mercy = 8
  14. max-requests = 2000
  15. limit-as = 200
  16. reload-on-as = 256
  17. reload-on-rss = 192
  18. no-orphans = true
  19. post-buffering = 8192
  20. socket-timeout = 120
  21. thunder-lock = true
  22. plugin = syslog
  23. disable-logging = true
  24. req-logger = syslog:uwsgi-luci-cgi_io
  25. log-format=%(method) %(uri) => return %(status) (%(rsize) bytes in %(msecs) ms)
  26. chmod-socket = 666
  27. cgi-safe = /usr/libexec/cgi-io
  28. cgi-dontresolve = true
  29. cgi-close-stdin-on-eof = true
  30. cheap = true
  31. idle = 360