27 lines
852 B
Text
27 lines
852 B
Text
server.bind = "0.0.0.0"
|
|
server.port = 3077
|
|
server.document-root = var.CWD + "/_site/"
|
|
|
|
index-file.names = ( "index.html" )
|
|
|
|
mimetype.assign = (
|
|
".css" => "text/css",
|
|
".gif" => "image/gif",
|
|
".htm" => "text/html",
|
|
".html" => "text/html",
|
|
".jpeg" => "image/jpeg",
|
|
".jpg" => "image/jpeg",
|
|
".js" => "text/javascript",
|
|
".png" => "image/png",
|
|
".swf" => "application/x-shockwave-flash",
|
|
".txt" => "text/plain",
|
|
".gmi" => "text/plain",
|
|
".svg" => "image/svg+xml",
|
|
".svgz" => "image/svg+xml"
|
|
)
|
|
|
|
# Making sure file uploads above 64k always work when using IE or Safari
|
|
# For more information, see http://trac.lighttpd.net/trac/ticket/360
|
|
$HTTP["useragent"] =~ "^(.*MSIE.*)|(.*AppleWebKit.*)$" {
|
|
server.max-keep-alive-requests = 0
|
|
}
|