Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Drobnak <mark.drobnak@gmail.com>2019-06-29 22:45:33 +0300
committerGitHub <noreply@github.com>2019-06-29 22:45:33 +0300
commit1a741f696eec2ee148fc59bc0dc98e862475e6ef (patch)
treebe48bed548d68481d55fdeb4c1ccddc0a4ad2ec2
parent1d43c0a2fa36ddc993db51b1751e26cbc8123fbf (diff)
parentb5af125be6fcda97d4d0381e99c1edb0e5423606 (diff)
Merge pull request #2816 from RamSet/hotfix/lighttpdMimev4.3.1
Fix lighttpd mime
-rw-r--r--advanced/lighttpd.conf.debian11
1 files changed, 10 insertions, 1 deletions
diff --git a/advanced/lighttpd.conf.debian b/advanced/lighttpd.conf.debian
index d9c4a110..47bdbee0 100644
--- a/advanced/lighttpd.conf.debian
+++ b/advanced/lighttpd.conf.debian
@@ -44,9 +44,18 @@ 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 = ( ".png" => "image/png",
+ ".jpg" => "image/jpeg",
+ ".jpeg" => "image/jpeg",
+ ".html" => "text/html",
+ ".css" => "text/css; charset=utf-8",
+ ".js" => "application/javascript",
+ ".json" => "application/json",
+ ".txt" => "text/plain",
+ ".svg" => "image/svg+xml" )
+
# 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.assign.pl"
# Prevent Lighttpd from enabling Let's Encrypt SSL for every blocked domain
#include_shell "/usr/share/lighttpd/include-conf-enabled.pl"