diff options
-rw-r--r-- | docker/lighttpd.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/lighttpd.conf b/docker/lighttpd.conf index e9a5a375..6cdf07bd 100644 --- a/docker/lighttpd.conf +++ b/docker/lighttpd.conf @@ -24,6 +24,7 @@ index-file.names = ( "index.html" ) server.modules += ( "mod_auth" ) server.modules += ( "mod_alias" ) +server.modules += ( "mod_compress" ) auth.debug = 2 auth.backend = "plain" auth.backend.plain.userfile = "/etc/lighttpd/authorization" @@ -34,3 +35,6 @@ auth.require = ( "/" => "require" => "valid-user" ) ) + +compress.cache-dir = "/var/cache/lighttpd/compress/" +compress.filetype = ("application/x-javascript", "text/css", "text/html", "text/plain") |