From: anon Date: Wed, 20 Aug 2025 11:41:42 +0000 (+0200) Subject: broken lighttpd conf X-Git-Url: https://git.xolatile.top/?a=commitdiff_plain;h=fc32a2a7ad9c851524e1a094ded72020587dbb09;p=gorillanest.git broken lighttpd conf --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..faaa791 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +serve: + lighttpd -D -f ./lighttpd.conf diff --git a/lighttpd.conf b/lighttpd.conf new file mode 100644 index 0000000..5b29684 --- /dev/null +++ b/lighttpd.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", + "socket" => "gorillanest.sock", + )) +) + +fastcgi.debug = 1