]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd-mod_extforward.conf
no dist-xz for ac
[packages/lighttpd.git] / lighttpd-mod_extforward.conf
CommitLineData
1c6af361
ER
1# mod_extforward for lighttpd
2#
bce8a1c7 3# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModExtForward
1c6af361
ER
4
5server.modules += (
6 "mod_extforward"
7)
8
9# Trust proxy 10.0.0.232 and 10.0.0.232
10#extforward.forwarder = (
11# "10.0.0.232" => "trust",
12# "10.0.0.233" => "trust",
13#)
14
15# Trust all proxies (NOT RECOMMENDED!)
16#extforward.forwarder = ( "all" => "trust")
17
18# Note that "all" has precedence over specific entries,
19# so "all except" setups will not work.
20
21# Note: The effect of this module is variable on $HTTP["remotip"] directives and
22# other module's remote ip dependent actions.
23# Things done by modules before we change the remoteip or after we reset it will match on the proxy's IP.
24# Things done in between these two moments will match on the real client's IP.
25# The moment things are done by a module depends on in which hook it does things and within the same hook
26# on whether they are before/after us in the module loading order
27# (order in the server.modules directive in the config file).
28#
29# Tested behaviours:
30#
31# mod_access: Will match on the real client.
32#
33# mod_accesslog:
34# In order to see the "real" ip address in access log ,
35# you'll have to load mod_extforward after mod_accesslog.
36# like this:
37#
38# server.modules = (
39# .....
40# mod_accesslog,
41# mod_extforward
42# )
This page took 0.099906 seconds and 4 git commands to generate.