diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-10-19 13:46:27 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2017-10-19 13:46:27 -0700 |
commit | f240d642f4e3e2f01fb075022b4023512647a0c1 (patch) | |
tree | 8dcd51f58355c876cd42ed246cd06f03ed31f7bb /docker | |
parent | 3a9cc248ea9fc77e805e6afc241f2bb16b9a887b (diff) |
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 <gary.i.wu@huawei.com>
Diffstat (limited to 'docker')
-rw-r--r-- | docker/lighttpd.conf | 5 |
1 files changed, 4 insertions, 1 deletions
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" ) |