annotate src/mysql/config @ 4624:df93068953c0
realip: chains of trusted proxies and IPv6 support.
The module now supports recursive search of client address through
the chain of trusted proxies, controlled by the "real_ip_recursive"
directive (closes #2). It also gets full IPv6 support (closes #44)
and canonical value of the $client_addr variable on address change.
Example:
real_ip_header X-Forwarded-For;
set_real_ip_from 127.0.0.0/8;
set_real_ip_from ::1;
set_real_ip_from unix:;
real_ip_recursive on;
author |
Ruslan Ermilov <ru@nginx.com> |
date |
Mon, 14 May 2012 12:41:03 +0000 |
parents |
7cbef16c71a1 |
children |
|
rev |
line source |
653
|
1
|
|
2 ngx_addon_name=ngx_mysql
|
|
3
|
|
4 HTTP_MODULES="$HTTP_MODULES ngx_http_mysql_test_module"
|
|
5
|
|
6 HTTP_INCS="$HTTP_INCS $ngx_addon_dir"
|
|
7 HTTP_DEPS="$HTTP_DEPS $ngx_addon_dir/ngx_mysql.h"
|
|
8 #CORE_LIBS="$CORE_LIBS -lmd"
|
|
9
|
|
10 USE_SHA1=YES
|
|
11
|
|
12 NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_mysql.c"
|
|
13 NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_mysql_test.c"
|