Author: glen Date: Mon Jul 17 12:54:20 2006 GMT Module: SOURCES Tag: HEAD ---- Log message: - update from debian
---- Files affected: SOURCES: lighttpd-mod_proxy.conf (1.2 -> 1.3) ---- Diffs: ================================================================ Index: SOURCES/lighttpd-mod_proxy.conf diff -u SOURCES/lighttpd-mod_proxy.conf:1.2 SOURCES/lighttpd-mod_proxy.conf:1.3 --- SOURCES/lighttpd-mod_proxy.conf:1.2 Tue Jul 11 22:17:36 2006 +++ SOURCES/lighttpd-mod_proxy.conf Mon Jul 17 14:54:15 2006 @@ -1,15 +1,32 @@ +## Let lighttpd act as a proxy server for special file types, hosts etc +## +## Documentation: http://www.lighttpd.net/documentation/proxy.html + server.modules += ( "mod_proxy" ) -#### proxy module -## read proxy.txt for more info +## Balance algorithm, possible values are: "hash", "round-robin" or "fair" (default) +# proxy.balance = "hash" + +## Redirect all queries to files ending with ".php" to 192.168.0.101:80 #proxy.server = ( -# ".php" => ( -# "localhost" => ( -# "host" => "192.168.0.101", -# "port" => 80, -# ) -# ) +# ".php" => (( +# "host" => "192.168.0.101", +# "port" => 80 +# )) #) +## Redirect all connections on www.example.com to 10.0.0.1{0,1,2,3} +#$HTTP["host"] == "www.example.com" { +# proxy.balance = "hash" +# proxy.server = ( +# "" => ( +# ( "host" => "10.0.0.10" ), +# ( "host" => "10.0.0.11" ), +# ( "host" => "10.0.0.12" ), +# ( "host" => "10.0.0.13" ), +# ) +# ) +#} +# ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SOURCES/lighttpd-mod_proxy.conf?r1=1.2&r2=1.3&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
