diff options
Diffstat (limited to 'lighttpd-fcgi.conf')
| -rw-r--r-- | lighttpd-fcgi.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lighttpd-fcgi.conf b/lighttpd-fcgi.conf new file mode 100644 index 0000000..a9cbb25 --- /dev/null +++ b/lighttpd-fcgi.conf @@ -0,0 +1,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" => "gorillanest.pl.fcgi", + "socket" => "gorillanest.sock", + )) +) + +fastcgi.debug = 1 |
