]> git.pld-linux.org Git - packages/lighttpd.git/blob - lighttpd-mod_proxy.conf
no dist-xz for ac
[packages/lighttpd.git] / lighttpd-mod_proxy.conf
1 # Let lighttpd act as a proxy server for special file types, hosts etc
2 #
3 # Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModProxy
4
5 server.modules += (
6         "mod_proxy"
7 )
8
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
13 #proxy.server = (
14 #       ".php" => ((
15 #               "host" => "192.168.0.101",
16 #               "port" => 80
17 #       ))
18 #)
19
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.029042 seconds and 3 git commands to generate.