]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd-mod_proxy.conf
temporarily load also mysql and ldap authn backends
[packages/lighttpd.git] / lighttpd-mod_proxy.conf
index 27684b840e51933b5fba7e91aece192c5d6fc95e..db6102194aa725715f11f92809ce0dfdc2f6d65a 100644 (file)
@@ -1,3 +1,31 @@
+# Let lighttpd act as a proxy server for special file types, hosts etc
+#
+# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModProxy
+
 server.modules += (
        "mod_proxy"
 )
+
+## 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" => ((
+#              "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" ),
+#              ) 
+#      )
+#}
This page took 0.045004 seconds and 4 git commands to generate.