xref: /lighttpd1.4/tests/proxy.conf (revision 54c07b54)
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_rewrite",
14	"mod_proxy",
15	"mod_accesslog",
16)
17
18accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
19
20proxy.debug = 1
21proxy.server = ( "" => (
22	"grisu" => (
23		"host" => "127.0.0.1",
24		"port" => env.EPHEMERAL_PORT,
25	),
26))
27
28url.rewrite = (
29	"^/rewrite/all(/.*)$" => "/cgi.pl?$1",
30)
31