aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-12 04:55:29 +0100
committerTeddy Wing2018-11-12 04:55:29 +0100
commitebb5bda3c484f39f7e037954f47590ceba55137c (patch)
treebfda3c8da6d2af03a9fdfce8b841ad7ca918ff69
parentc49e6b14ff9951a1cb31e5c05841e942a8b696cf (diff)
downloaddome-key-web-ebb5bda3c484f39f7e037954f47590ceba55137c.tar.bz2
lighttpd.conf: Add routes for additional license handlers
We want another route for a thank-you page, and a third for a Zip download of the license.
-rw-r--r--license-generator/lighttpd.conf16
1 files changed, 14 insertions, 2 deletions
diff --git a/license-generator/lighttpd.conf b/license-generator/lighttpd.conf
index 4fc6f2d..aa64347 100644
--- a/license-generator/lighttpd.conf
+++ b/license-generator/lighttpd.conf
@@ -8,10 +8,22 @@ server.modules += ( "mod_fastcgi" )
fastcgi.debug = 1
fastcgi.server = (
- "/" => ((
- "socket" => "./fcgi.socket",
+ "/fulfillment" => ((
+ "socket" => "./license-generator.fcgi.socket",
"check-local" => "disable",
"bin-path" => var.CWD + "/target/debug/license-generator",
"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-download",
+ "max-procs" => 1
))
)