summaryrefslogtreecommitdiffstats
path: root/lighttpd/lighttpd.conf.in
blob: 42757b3bc51ba42082c1aa53f41d74388502ae0a (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
25
26
27
28
29
30
31
32
33
34
35
36
37
server.document-root = "@abs_top_builddir@/web-gui"

server.port		= 8080
server.bind		= "localhost"
server.tag		= "lighttpd"

server.errorlog		= "@abs_builddir@/error.log"

server.modules		= (
	"mod_fastcgi",
)

# mimetype mapping
mimetype.assign		= (
	".gif"		=>	"image/gif",
	".jpg"		=>	"image/jpeg",
	".jpeg"		=>	"image/jpeg",
	".png"		=>	"image/png",
	".css"		=>	"text/css",
	".html"		=>	"text/html",
	".htm"		=>	"text/html",
	".js"		=>	"text/javascript",
	".xml"		=>	"text/xml",
)

index-file.names = ( "index.html" )

fastcgi.server = (
	"/rpc" => ((
		"bin-path" => "@JSON_DBUS_BRIDGE@",
		"socket" => "@abs_builddir@/json-dbus-bridge.socket",
		"check-local" => "disable",
		"mode" => "responder",
		"max-procs" => 1,
	)),
)