[uwsgi] # serve via uwsgi protocol to frontend webserver # * load CGI plugin as default modifier1 to ease frontend setup # * load uGreen for cheap concurrency plugins = 0:cgi,ugreen ini = :app #ini = :static [app] async = 1000 ugreen = true offload-threads = 5 cgi = /=/usr/lib/cgit/cgit.cgi [static] # serve static files directly (even better: serve by frontend webserver) check-static-docroot = 1 static-map = /cgit-css/=/usr/share/cgit/ static-map = /favicon.ico=/usr/share/cgit/favicon.ico static-map = /robots.txt=/usr/share/cgit/robots.txt