From fc32a2a7ad9c851524e1a094ded72020587dbb09 Mon Sep 17 00:00:00 2001 From: anon Date: Wed, 20 Aug 2025 13:41:42 +0200 Subject: [PATCH] broken lighttpd conf --- Makefile | 2 ++ lighttpd.conf | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 Makefile create mode 100644 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 -- 2.39.5