summaryrefslogtreecommitdiff
path: root/etc/uwsgi/apps-available/local-git.ini
blob: 7fcaf54cea528566fec26a979eebccaff5f0f7fa (plain)
  1. [uwsgi]
  2. # serve via uwsgi protocol to frontend webserver
  3. # * load CGI plugin as default modifier1 to ease frontend setup
  4. # * load uGreen for cheap concurrency
  5. plugins 0:cgi,ugreen
  6. ini = :app
  7. #ini = :static
  8. [app]
  9. async = 1000
  10. ugreen = true
  11. offload-threads = 5
  12. cgi = /=/usr/lib/cgit/cgit.cgi
  13. [static]
  14. # serve static files directly (even better: serve by frontend webserver)
  15. check-static-docroot = 1
  16. static-map = /cgit-css/=/usr/share/cgit/
  17. static-map = /favicon.ico=/usr/share/cgit/favicon.ico
  18. static-map = /robots.txt=/usr/share/cgit/robots.txt