aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTeddy Wing2020-07-04 15:57:58 +0200
committerTeddy Wing2020-07-04 15:57:58 +0200
commitcd2f29f13f388fc4a9edfbf9980f096f06198d74 (patch)
tree0ec7a1edba7833434d9b2cc2ca7e4644c3f0aa5e /examples
parent4debb72622bbc68308c49fadb331e882ebe8fe19 (diff)
downloadfastcgi-conduit-cd2f29f13f388fc4a9edfbf9980f096f06198d74.tar.bz2
Move `lighttpd.conf` to `examples/`
I was only using it to test the examples.
Diffstat (limited to 'examples')
-rw-r--r--examples/lighttpd.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/lighttpd.conf b/examples/lighttpd.conf
new file mode 100644
index 0000000..20ca3ce
--- /dev/null
+++ b/examples/lighttpd.conf
@@ -0,0 +1,19 @@
+var.log_root = "/usr/local/var/log/lighttpd"
+var.server_root = "."
+server.document-root = server_root
+server.port = 8080
+server.errorlog = log_root + "/error.log"
+
+server.modules += ( "mod_fastcgi" )
+
+fastcgi.debug = 1
+fastcgi.server = (
+ "/" => ((
+ "socket" => "./server.fcgi.socket",
+ "check-local" => "disable",
+ "bin-path" => var.CWD + "/target/debug/examples/server",
+ "max-procs" => 1
+ )),
+)
+
+include "/usr/local/etc/lighttpd/conf.d/mime.conf"