include "../../lighttpd.conf"
index-file.names = ("index.html")
#$SERVER["socket"] == ":8443" {
#  ssl.engine = "enable"
#  ssl.pemfile = "/etc/lighttpd/ssl/localhost.pem"
#  $HTTP["useragent"] =~ "(MSIE|Camino)" {
#    server.max-keep-alive-requests = 0
#  }
#}
fastcgi.server = (
  "/receive" => ((
    "socket" => var.CWD + "/smisk.sock",
    "bin-path" => var.CWD + "/process.py",
    "check-local" => "disable",
    "bin-environment" => ("PYTHONOPTIMIZE" => "YES"),
    "bin-copy-environment" => ("PATH", "SHELL", "USER"),
    "min-procs" => 1,
    "max-procs" => 1
  )),
)
