summaryrefslogtreecommitdiff
path: root/doc/proxy.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/proxy.txt')
-rw-r--r--doc/proxy.txt40
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/proxy.txt b/doc/proxy.txt
index 8ff5c3e..b8a3997 100644
--- a/doc/proxy.txt
+++ b/doc/proxy.txt
@@ -11,12 +11,12 @@ Module: mod_proxy
:Revision: $Revision: 1.1 $
:abstract:
- The proxy module a simplest way to connect lighttpd to
+ The proxy module a simplest way to connect lighttpd to
java servers which have a HTTP-interface.
-
+
.. meta::
:keywords: lighttpd, Proxy
-
+
.. contents:: Table of Contents
Description
@@ -27,17 +27,17 @@ Description
Options
=======
-lighttpd provides the Proxy support via the proxy-module
+lighttpd provides the Proxy support via the proxy-module
(mod_proxy) which provides 2 options in the config-file:
:proxy.debug:
- a value between 0 and 65535 to set the debug-level in the
- Proxy module. Currently only 0 and 1 are used. Use 1 to
+ a value between 0 and 65535 to set the debug-level in the
+ Proxy module. Currently only 0 and 1 are used. Use 1 to
enable some debug output, 0 to disable it.
:proxy.balance:
might be one of 'hash', 'round-robin' or 'fair' (default).
-
+
'round-robin' choses another host for each request, 'hash'
is generating a hash over the request-uri and makes sure
that the same request URI is sent to always the same host.
@@ -46,22 +46,22 @@ lighttpd provides the Proxy support via the proxy-module
load-based, passive balancing.
:proxy.server:
- tell the module where to send Proxy requests to. Every
- file-extension can have its own handler. Load-Balancing is
+ tell the module where to send Proxy requests to. Every
+ file-extension can have its own handler. Load-Balancing is
done by specifying multiple handles for the same extension.
-
+
structure of proxy.server section: ::
-
- ( <extension> =>
- (
+
+ ( <extension> =>
+ (
( "host" => <string> ,
"port" => <integer> ),
( "host" => <string> ,
"port" => <integer> )
),
- <extension> => ...
+ <extension> => ...
)
-
+
:<extension>: is the file-extension or prefix (if started with "/")
might empty to match all requests
:"host": is ip of the proxy server
@@ -69,9 +69,9 @@ lighttpd provides the Proxy support via the proxy-module
server (default: 80)
e.g.: ::
-
+
proxy.server = ( ".jsp" =>
- ( (
+ ( (
"host" => "10.0.0.242",
"port" => 81
) )
@@ -80,8 +80,8 @@ lighttpd provides the Proxy support via the proxy-module
Example:
========
-Using lighttpd + mod_proxy in front of 8 Squids which handle the
-caching of dynamic content for you. All requests for the host
+Using lighttpd + mod_proxy in front of 8 Squids which handle the
+caching of dynamic content for you. All requests for the host
www.example.org should be forwarded to the proxy. All proxies
listen on port 80 for requests. ::
@@ -97,7 +97,7 @@ listen on port 80 for requests. ::
( "host" => "10.0.0.17" ) ) )
}
-If one of the hosts goes down the all requests for this one server are
+If one of the hosts goes down the all requests for this one server are
moved equally to the other servers. If you want to know more about
the algorithm used here google for 'Microsoft CARP'.