diff options
author | Ruslan Ermilov <ru@nginx.com> | 2012-05-14 14:00:17 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2012-05-14 14:00:17 +0000 |
commit | d4ba06c31a09fd82a1a2b8046384b6c136df0aae (patch) | |
tree | 7eef928fb403889f2fc4e4a236e59b08b47a6f75 /src/core/ngx_regex.h | |
parent | 69521ddebf3562751ffd792b3eb4f356ae6d8ed6 (diff) | |
download | nginx-d4ba06c31a09fd82a1a2b8046384b6c136df0aae.tar.gz nginx-d4ba06c31a09fd82a1a2b8046384b6c136df0aae.zip |
geoip: trusted proxies support and partial IPv6 support.
The module now supports recursive search of client address through the
chain of trusted proxies (closes #100), in the same scope as the geo
module. Proxies are listed by the "geoip_proxy" directive, recursive
search is enabled by the "geoip_proxy_recursive" directive. IPv6 is
partially supported: proxies may be specified with IPv6 addresses.
Example:
geoip_country .../GeoIP.dat;
geoip_proxy 127.0.0.1;
geoip_proxy ::1;
geoip_proxy 10.0.0.0/8;
geoip_proxy_recursive on;
Diffstat (limited to 'src/core/ngx_regex.h')
0 files changed, 0 insertions, 0 deletions