blob: b6fc1fb80fc5b5c7bea0099b8943d48a141e91e4 [file] [log] [blame]
DR695Hccff30b2017-02-17 18:44:24 -05001server.document-root = "/var/opt/OpenECOMP_ETE/html/"
2
3server.port = 88
4
5server.username = "www-data"
6server.groupname = "www-data"
7
8dir-listing.activate = "disable"
9
Jerry Floodd7503152017-10-09 16:33:00 -040010alias.url = ( "/logs/" => "/share/logs/" )
11$HTTP["url"] =~ "^/logs/" {
12 dir-listing.activate = "enable"
13}
14
DR695Hccff30b2017-02-17 18:44:24 -050015mimetype.assign = (
Gary Wuf240d642017-10-19 13:46:27 -070016 ".log" => "text/plain",
17 ".txt" => "text/plain",
Gary Wu351a7722018-11-01 09:39:16 -070018 ".png" => "image/png",
Gary Wuf240d642017-10-19 13:46:27 -070019 ".html" => "text/html",
20 ".xml" => "text/xml"
DR695Hccff30b2017-02-17 18:44:24 -050021)
22
23static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc", ".cgi" )
24index-file.names = ( "index.html" )
25
Jerry Flood775f59f2017-04-01 06:55:19 -040026server.modules += ( "mod_auth" )
Jerry Floodd7503152017-10-09 16:33:00 -040027server.modules += ( "mod_alias" )
Gary Wu23920af2018-10-30 15:16:11 -070028server.modules += ( "mod_compress" )
Jerry Flood775f59f2017-04-01 06:55:19 -040029auth.debug = 2
30auth.backend = "plain"
31auth.backend.plain.userfile = "/etc/lighttpd/authorization"
32auth.require = ( "/" =>
33(
34"method" => "basic",
35"realm" => "Password protected area",
36"require" => "valid-user"
37)
38)
Gary Wu23920af2018-10-30 15:16:11 -070039
40compress.cache-dir = "/var/cache/lighttpd/compress/"
41compress.filetype = ("application/x-javascript", "text/css", "text/html", "text/plain")