diff options
author | Teddy Wing | 2018-11-12 04:55:29 +0100 |
---|---|---|
committer | Teddy Wing | 2018-11-12 04:55:29 +0100 |
commit | ebb5bda3c484f39f7e037954f47590ceba55137c (patch) | |
tree | bfda3c8da6d2af03a9fdfce8b841ad7ca918ff69 | |
parent | c49e6b14ff9951a1cb31e5c05841e942a8b696cf (diff) | |
download | dome-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.conf | 16 |
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 )) ) |