From: Gary Wu Date: Tue, 30 Oct 2018 22:16:11 +0000 (-0700) Subject: Enable compresion in lighttpd X-Git-Tag: 1.3.1~23 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F04%2F71504%2F1;p=testsuite.git Enable compresion in lighttpd Change-Id: I70345abe51ed561c28292748bcc14dded4b3427e Issue-ID: INT-586 Signed-off-by: Gary Wu --- 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")