From f240d642f4e3e2f01fb075022b4023512647a0c1 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Thu, 19 Oct 2017 13:46:27 -0700 Subject: Additional mimetypes for lighttpd Add mimetype assignments to lighttpd to fix issue with unassigned file types being sent without Last-Modified header. Change-Id: I62e3b2b0cb70c29585b2db1ad85e8ba1ec53acfa Issue-ID: INT-278 Signed-off-by: Gary Wu --- docker/lighttpd.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/lighttpd.conf b/docker/lighttpd.conf index 024a259c..e9a5a375 100644 --- a/docker/lighttpd.conf +++ b/docker/lighttpd.conf @@ -13,7 +13,10 @@ $HTTP["url"] =~ "^/logs/" { } mimetype.assign = ( - ".html" => "text/html" + ".log" => "text/plain", + ".txt" => "text/plain", + ".html" => "text/html", + ".xml" => "text/xml" ) static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc", ".cgi" ) -- cgit 1.2.3-korg