# Basic setup
include "../../lighttpd.conf"
server.modules += ("mod_rewrite")
$HTTP["url"] !~ "^/(favicon.ico$|res)" {
  fastcgi.server = (
    "/" => ((
      "socket" => var.CWD + "/process.sock",
      "bin-path" => var.CWD + "/app.py",
      "check-local" => "disable",
      "bin-copy-environment" => ("PATH", "SHELL", "USER"),
      "min-procs" => 1,
      "max-procs" => 1
    )),
  )
}

mimetype.assign += (
  "" => "text/plain",
)
