]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd-mod_proxy.conf
sample more debug variables
[packages/lighttpd.git] / lighttpd-mod_proxy.conf
CommitLineData
1efd0147
ER
1# Let lighttpd act as a proxy server for special file types, hosts etc
2#
34b8d937 3# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModProxy
a242e9d0 4
7d3968ad
ER
5server.modules += (
6 "mod_proxy"
7)
693950e2 8
a242e9d0
ER
9## Balance algorithm, possible values are: "hash", "round-robin" or "fair" (default)
10# proxy.balance = "hash"
11
12## Redirect all queries to files ending with ".php" to 192.168.0.101:80
693950e2 13#proxy.server = (
a242e9d0
ER
14# ".php" => ((
15# "host" => "192.168.0.101",
16# "port" => 80
17# ))
693950e2
ER
18#)
19
a242e9d0
ER
20## Redirect all connections on www.example.com to 10.0.0.1{0,1,2,3}
21#$HTTP["host"] == "www.example.com" {
22# proxy.balance = "hash"
23# proxy.server = (
24# "" => (
25# ( "host" => "10.0.0.10" ),
26# ( "host" => "10.0.0.11" ),
27# ( "host" => "10.0.0.12" ),
28# ( "host" => "10.0.0.13" ),
29# )
30# )
31#}
This page took 0.034302 seconds and 4 git commands to generate.