diff options
| author | Emil Williams | 2025-08-20 14:26:55 +0000 |
|---|---|---|
| committer | Emil Williams | 2025-08-20 14:26:55 +0000 |
| commit | c77da682d171f87203bd139817e37242184d8441 (patch) | |
| tree | c646bb74a4b7b856d1b7323875f0d3fe4d3786a4 | |
| parent | cc04457c99952083ee095d6eae069cb5d8307837 (diff) | |
| parent | 15bb3d5b02dd99c1c4784cee63f0c81d9547e00f (diff) | |
| download | gorillanest-c77da682d171f87203bd139817e37242184d8441.tar.xz gorillanest-c77da682d171f87203bd139817e37242184d8441.tar.zst | |
Make Make Me A Maker
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | lighttpd.conf | 25 |
2 files changed, 27 insertions, 0 deletions
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..3f21f8f --- /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 |
