ext_ip="0.0.0.0"
server "default" {
       listen on $ext_ip port 80

       # don't serve static files from cgit: cgit.css and cgit.png
       # using CGI.
       location "/cgit.*" {
               root "/cgit"
               no fastcgi
       }
       root "/cgi-bin/cgit.cgi"
       fastcgi socket "/run/slowcgi.sock"
}