[ROBOT] Adopt HVVES test case in order to work with strimzi kafka
[testsuite.git] / docker / lighttpd.conf
index 024a259..7fc50db 100644 (file)
@@ -1,4 +1,4 @@
-server.document-root = "/var/opt/OpenECOMP_ETE/html/"
+server.document-root = "/var/opt/ONAP/html/"
 
 server.port = 88
 
@@ -13,7 +13,11 @@ $HTTP["url"] =~ "^/logs/" {
 }
 
 mimetype.assign = (
-  ".html" => "text/html"
+  ".log" => "text/plain",
+  ".txt" => "text/plain",
+  ".png" => "image/png",
+  ".html" => "text/html",
+  ".xml" => "text/xml"
 )
 
 static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc", ".cgi" )
@@ -21,6 +25,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"
@@ -31,3 +36,6 @@ auth.require = ( "/" =>
 "require" => "valid-user"
 )
 )
+
+compress.cache-dir = "/var/cache/lighttpd/compress/"
+compress.filetype = ("application/x-javascript", "text/css", "text/html", "text/plain")