From 9b2b9140edea58fe2e24ba1dad4cf512544e6ba5 Mon Sep 17 00:00:00 2001 From: joxda Date: Sat, 22 Aug 2020 18:43:12 +0300 Subject: [PATCH] Fixes lighttpd.conf so that the server transmits the MIME type of the css files correctly. --- gui/lighttpd.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/lighttpd.conf b/gui/lighttpd.conf index 6291c3e9b..9e23a3739 100644 --- a/gui/lighttpd.conf +++ b/gui/lighttpd.conf @@ -42,6 +42,8 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) compress.cache-dir = "/var/cache/lighttpd/compress/" compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" ) +mimetype.assign = (".css" => "text/css", ) + # default listening port for IPv6 falls back to the IPv4 port include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port include_shell "/usr/share/lighttpd/create-mime.conf.pl"