From 8f2474b66fb3b402240bf7470ae3981a33c4213b Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 13 Nov 2018 17:12:05 +0100 Subject: lighttpd.conf: Serve static assets Want to be able to use our static image and CSS assets from the FCGI code when rendering HTML. --- license-generator/lighttpd.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'license-generator') diff --git a/license-generator/lighttpd.conf b/license-generator/lighttpd.conf index e6de9c7..1923c4a 100644 --- a/license-generator/lighttpd.conf +++ b/license-generator/lighttpd.conf @@ -1,5 +1,5 @@ var.log_root = "/usr/local/var/log/lighttpd" -var.server_root = "/usr/local/var/www" +var.server_root = ".." server.document-root = server_root server.port = 8080 server.errorlog = log_root + "/error.log" @@ -27,3 +27,5 @@ fastcgi.server = ( "max-procs" => 1 )) ) + +include "/usr/local/etc/lighttpd/conf.d/mime.conf" -- cgit v1.2.3