aboutsummaryrefslogtreecommitdiffstats
path: root/examples/lighttpd.conf
blob: 20ca3ce6c02023c1afc7df6f2cdaead6ad22af6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
var.log_root    = "/usr/local/var/log/lighttpd"
var.server_root = "."
server.document-root = server_root
server.port = 8080
server.errorlog = log_root + "/error.log"

server.modules += ( "mod_fastcgi" )

fastcgi.debug = 1
fastcgi.server = (
    "/" => ((
        "socket" => "./server.fcgi.socket",
        "check-local" => "disable",
        "bin-path" => var.CWD + "/target/debug/examples/server",
        "max-procs" => 1
    )),
)

include "/usr/local/etc/lighttpd/conf.d/mime.conf"