# Basic setup
include "../../lighttpd.conf"
fastcgi.server = (
  "/" => ((
    "socket" => var.CWD + "/process.sock",
    "bin-path" => var.CWD + "/app.py",
    "check-local" => "disable",
    "bin-environment" => (
      #"PYTHONOPTIMIZE" => "YES",
      "PYTHONUNBUFFERED" => "1"
    ),
    "bin-copy-environment" => ("PATH", "SHELL", "USER"),
    "max-procs" => 1
  )),
)
