xref: /lighttpd1.4/tests/proxy.conf (revision 7258624e)
1server.systemd-socket-activation = "enable"
2# optional bind spec override, e.g. for platforms without socket activation
3include env.SRCDIR + "/tmp/bind*.conf"
4
5server.document-root         = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
6server.errorlog            = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
7server.breakagelog         = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
8server.name                = "www.example.org"
9server.tag                 = "Proxy"
10
11server.compat-module-load = "disable"
12server.modules = (
13	"mod_proxy",
14	"mod_accesslog",
15)
16
17accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
18
19proxy.debug = 1
20proxy.server = ( "" => (
21	"grisu" => (
22		"host" => "127.0.0.1",
23		"port" => env.EPHEMERAL_PORT,
24	),
25))
26proxy.header = (
27	"map-urlpath" => ( "/rewrite/all" => "/cgi.pl?" )
28)
29