aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-13 17:12:05 +0100
committerTeddy Wing2018-11-13 17:12:05 +0100
commit8f2474b66fb3b402240bf7470ae3981a33c4213b (patch)
tree2299a26dc9caf5adedf50b03a1a74957e3656524
parent543cf0b266cae228f9032deeba68e19f10bdc801 (diff)
downloaddome-key-web-8f2474b66fb3b402240bf7470ae3981a33c4213b.tar.bz2
lighttpd.conf: Serve static assets
Want to be able to use our static image and CSS assets from the FCGI code when rendering HTML.
-rw-r--r--license-generator/lighttpd.conf4
1 files changed, 3 insertions, 1 deletions
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"