From: Gary Wu Date: Thu, 19 Oct 2017 20:46:27 +0000 (-0700) Subject: Additional mimetypes for lighttpd X-Git-Tag: 1.0.0-Amsterdam~19^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F09%2F19809%2F1;p=testsuite.git 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 --- 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" )