aboutsummaryrefslogtreecommitdiff
path: root/lighttpd-fcgi.conf
diff options
context:
space:
mode:
authorEmil Williams2025-08-20 23:46:09 +0000
committerEmil Williams2025-08-20 23:46:09 +0000
commitdf2e0e9da234428306fb933f84e21078dc75020b (patch)
tree0500a46d9ddc1ea080919b7bcbc8279c11aa440f /lighttpd-fcgi.conf
parente49369309a6893e968f01c7cf38e27ea9219a4d9 (diff)
parentefb00d45c75762bac1b89f07128d00909caebd8d (diff)
downloadgorillanest-df2e0e9da234428306fb933f84e21078dc75020b.tar.xz
gorillanest-df2e0e9da234428306fb933f84e21078dc75020b.tar.zst
I Doubt It Works The Same
Diffstat (limited to 'lighttpd-fcgi.conf')
-rw-r--r--lighttpd-fcgi.conf25
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