summaryrefslogtreecommitdiff
path: root/zuul/share/lighttpd.conf
blob: 3d2ce72ace912d025b90bd3b7e27ccc7ede039a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
server.document-root = "/var/www/" 

server.port = 80

server.username = "www" 
server.groupname = "www" 

mimetype.assign = (
    ".html" => "text/html", 
    ".txt" => "text/plain",
    ".log" => "text/plain",
    ".jpg" => "image/jpeg",
    ".png" => "image/png" 
)

static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc" )
index-file.names = ( "index.html" )

$HTTP["host"] == "127.0.0.1" {
    server.document-root = "/var/www/" 
    $HTTP["url"] =~ "^/logs/" {
        dir-listing.activate = "enable" 
    }
}