1 # Transparent socket proxy (available since lighttpd 1.4.51)
3 # mod_sockproxy is a transparent socket proxy. For a given $SERVER["socket"]
4 # config, connections will be forwarded to backend(s) without any
5 # interpretation of the protocol.
7 # Documentation: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSockProxy
13 # debug level (value between 0 and 65535)
17 # might be one of 'fair' (default), 'hash', 'round-robin' or 'sticky'.
18 # - 'fair' or 'least-connection' is the normal load-based, passive balancing.
19 # - 'round-robin' chooses another host for each request.
20 # - 'hash' is generating a hash over the request-uri and makes sure that the
21 # same request URI is sent to always the same host. That can increase the
22 # performance of the backend servers a lot due to higher cache-locality.
23 # - 'sticky' (since 1.4.44) sends requests from the same (client) IP to the same backend.
24 #sockproxy.balance = "fair"
27 # backend server definition(s) for hosts to which to send requests; options for
28 # each backend host. Every file-extension can have its own handler.
29 # Load-balancing is done by specifying multiple hosts for the same extension.
33 # "host" => "10.0.0.242",