Release image version 1.12.2
[testsuite.git] / docker / lighttpd.conf
1 server.document-root = "/var/opt/ONAP/html/"
2
3 server.port = 88
4
5 server.username = "www-data"
6 server.groupname = "www-data"
7
8 dir-listing.activate = "disable"
9
10 alias.url = ( "/logs/" => "/share/logs/" )
11 $HTTP["url"] =~ "^/logs/" {
12     dir-listing.activate = "enable"
13 }
14
15 mimetype.assign = (
16   ".log" => "text/plain",
17   ".txt" => "text/plain",
18   ".png" => "image/png",
19   ".html" => "text/html",
20   ".xml" => "text/xml"
21 )
22
23 static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc", ".cgi" )
24 index-file.names = ( "index.html" )
25
26 server.modules += ( "mod_auth" )
27 server.modules += ( "mod_alias" )
28 server.modules += ( "mod_compress" )
29 auth.debug = 2
30 auth.backend = "plain"
31 auth.backend.plain.userfile = "/etc/lighttpd/authorization"
32 auth.require = ( "/" =>
33 (
34 "method" => "basic",
35 "realm" => "Password protected area",
36 "require" => "valid-user"
37 )
38 )
39
40 compress.cache-dir = "/var/cache/lighttpd/compress/"
41 compress.filetype = ("application/x-javascript", "text/css", "text/html", "text/plain")