aboutsummaryrefslogtreecommitdiffstats
path: root/lighttpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'lighttpd.conf')
-rw-r--r--lighttpd.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/lighttpd.conf b/lighttpd.conf
new file mode 100644
index 0000000..c0e0a1f
--- /dev/null
+++ b/lighttpd.conf
@@ -0,0 +1,31 @@
+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 = (
+ "/fulfillment" => ((
+ "socket" => "./fulfillment.fcgi.socket",
+ "check-local" => "disable",
+ "bin-path" => var.CWD + "/target/debug/fulfillment",
+ "max-procs" => 1
+ )),
+ "/license" => ((
+ "socket" => "./license.fcgi.socket",
+ "check-local" => "disable",
+ "bin-path" => var.CWD + "/target/debug/license",
+ "max-procs" => 1
+ )),
+ "/license/download" => ((
+ "socket" => "./license-download.fcgi.socket",
+ "check-local" => "disable",
+ "bin-path" => var.CWD + "/target/debug/license",
+ "max-procs" => 1
+ ))
+)
+
+include "/usr/local/etc/lighttpd/conf.d/mime.conf"