aboutsummaryrefslogtreecommitdiff
path: root/service/lighttpd-fcgi.conf
blob: c5b9fbac0283929009f1b82fc858e2ba5b8f5a60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
server.modules = (
    "mod_fastcgi",
    "mod_rewrite",
    "mod_setenv"
)

server.document-root = var.CWD
server.port = 5050

url.rewrite-once = (
    "/" => "/gorillanest"
)

setenv.add-environment = (
    "PERL5LIB" => env.PERL5LIB
)

fastcgi.server = (
    "/gorillanest" => ((
        "bin-path" => "perl/fcgi.pl",
        "socket"   => "gorillanest.sock",
    ))
)

fastcgi.debug = 1