xref: /lighttpd1.4/tests/proxy.conf (revision 70b1af06)
1server.document-root         = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
2
3## bind to port (default: 80)
4server.port                 = 2050
5
6## bind to localhost (default: all interfaces)
7server.bind                = "localhost"
8server.errorlog            = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
9server.breakagelog         = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
10server.name                = "www.example.org"
11server.tag                 = "Proxy"
12
13server.modules = (
14	"mod_rewrite",
15	"mod_proxy",
16	"mod_accesslog",
17)
18
19accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
20
21proxy.debug = 1
22proxy.server = ( "" => (
23	"grisu" => (
24		"host" => "127.0.0.1",
25		"port" => 2048,
26	),
27))
28
29url.rewrite = (
30	"^/rewrite/all(/.*)$" => "/indexfile/query_string.pl?$1",
31)
32