server.document-root = "/var/www/htdocs" server.port = 12765 server.username = "lorry" server.groupname = "lorry" server.modules += ("mod_cgi", "mod_fastcgi") mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png", ".css" => "text/css" ) $SERVER["socket"] == ":12765" { server.username = "lorry" server.groupname = "lorry" fastcgi.server = ( "" => ( "python-fcgi" => ( "socket" => "/run/lighttpd-lorry/lorry-controller-webapp.socket", "bin-path" => "/usr/bin/lorry-controller-webapp --config=/etc/lorry-controller/webapp.conf", "check-local" => "disable", "max-procs" => 16, ) ) ) }