]> git.xolatile.top Git - gorillanest.git/commitdiff
broken lighttpd conf
authoranon <anon@anon.anon>
Wed, 20 Aug 2025 11:41:42 +0000 (13:41 +0200)
committeranon <anon@anon.anon>
Wed, 20 Aug 2025 11:41:42 +0000 (13:41 +0200)
Makefile [new file with mode: 0644]
lighttpd.conf [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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 (file)
index 0000000..5b29684
--- /dev/null
@@ -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