aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2012-05-14 13:53:22 +0000
committerRuslan Ermilov <ru@nginx.com>2012-05-14 13:53:22 +0000
commit69521ddebf3562751ffd792b3eb4f356ae6d8ed6 (patch)
tree5b03616fea35ecaae0c2c156ab9040b1e22e7284 /src/http/ngx_http_request.c
parent11a8e26d29d6f6837f4c365766ebb2ec94efc428 (diff)
downloadnginx-69521ddebf3562751ffd792b3eb4f356ae6d8ed6.tar.gz
nginx-69521ddebf3562751ffd792b3eb4f356ae6d8ed6.zip
geo: chains of trusted proxies and partial IPv6 support.
The module now supports recursive search of client address through the chain of trusted proxies, controlled by the "proxy_recursive" directive in the "geo" block. It also gets partial IPv6 support: now proxies may be specified with IPv6 addresses. Example: geo $test { ... proxy 127.0.0.1; proxy ::1; proxy_recursive; } There's also a slight change in behavior. When original client address (as specified by the "geo" directive) is one of the trusted proxies, and the value of the X-Forwarded-For request header cannot not be parsed as a valid address, an original client address will be used for lookup. Previously, 255.255.255.255 was used in this case.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions