diff options
author | Stefan Bühler <stbuehler@web.de> | 2009-04-26 19:43:22 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2009-04-26 19:43:22 +0000 |
commit | 4c7c0b815e0ad2655c1d3e4b6af464f5194d704c (patch) | |
tree | b8538ddbb94e92c57c3d235f72479386d5dd890b /doc | |
parent | 6fac05e10b43af7d0f4f12b66f5ceaffe039f6ea (diff) | |
download | lighttpd-git-4c7c0b815e0ad2655c1d3e4b6af464f5194d704c.tar.gz |
Make mod_extforward headers configurable (fixes #1545)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2482 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'doc')
-rw-r--r-- | doc/extforward.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/extforward.txt b/doc/extforward.txt index af4f2a82..3d0c57cd 100644 --- a/doc/extforward.txt +++ b/doc/extforward.txt @@ -49,10 +49,19 @@ extforward.forwarder Default: empty Example: :: - + extforward.forwarder = ("10.0.0.232" => "trust") - will translate ip addresses coming from 10.0.0.232 to real ip addresses extracted from X-Forwarded-For: HTTP request header. + will translate ip addresses coming from 10.0.0.232 to real ip addresses extracted from "X-Forwarded-For" or "Forwarded-For" HTTP request header. + +extforward.headers + Sets headers to search for finding the originl addresses. + + Example (for use with a Zeus ZXTM loadbalancer): :: + + extforward.headers = ("X-Cluster-Client-Ip") + + Default: empty, results in searching for "X-Forwarded-For" and "Forwarded-For" Note ======= |