aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
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"