broken lighttpd conf

This commit is contained in:
anon 2025-08-20 13:41:42 +02:00
parent 5368e4cde5
commit fc32a2a7ad
2 changed files with 27 additions and 0 deletions

2
Makefile Normal file
View File

@ -0,0 +1,2 @@
serve:
lighttpd -D -f ./lighttpd.conf

25
lighttpd.conf Normal file
View File

@ -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",
"socket" => "gorillanest.sock",
))
)
fastcgi.debug = 1