diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2012-06-21 11:02:22 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2012-06-21 11:02:22 +0000 |
| commit | 42444811b9281b1946a7a6f6d2f0b3ab2a98c269 (patch) | |
| tree | 512552aca6ad9646f9aa9537e595aa55e2c75ac2 /auto | |
| parent | 992a4d11daadaa440ea4bc879c53aadef5721c63 (diff) | |
| download | nginx-42444811b9281b1946a7a6f6d2f0b3ab2a98c269.tar.gz nginx-42444811b9281b1946a7a6f6d2f0b3ab2a98c269.tar.bz2 | |
Fixed compile-time conditionals used to detect if X-Forwarded-For support
is needed.
Diffstat (limited to 'auto')
| -rw-r--r-- | auto/modules | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/auto/modules b/auto/modules index ebea30232..2d9da945c 100644 --- a/auto/modules +++ b/auto/modules @@ -223,6 +223,7 @@ fi if [ $HTTP_REALIP = YES ]; then have=NGX_HTTP_REALIP . auto/have + have=NGX_HTTP_X_FORWARDED_FOR . auto/have HTTP_MODULES="$HTTP_MODULES $HTTP_REALIP_MODULE" HTTP_SRCS="$HTTP_SRCS $HTTP_REALIP_SRCS" fi @@ -233,12 +234,13 @@ if [ $HTTP_STATUS = YES ]; then fi if [ $HTTP_GEO = YES ]; then - have=NGX_HTTP_GEO . auto/have + have=NGX_HTTP_X_FORWARDED_FOR . auto/have HTTP_MODULES="$HTTP_MODULES $HTTP_GEO_MODULE" HTTP_SRCS="$HTTP_SRCS $HTTP_GEO_SRCS" fi if [ $HTTP_GEOIP = YES ]; then + have=NGX_HTTP_X_FORWARDED_FOR . auto/have HTTP_MODULES="$HTTP_MODULES $HTTP_GEOIP_MODULE" HTTP_SRCS="$HTTP_SRCS $HTTP_GEOIP_SRCS" fi @@ -273,7 +275,7 @@ if [ $HTTP_SSL = YES ]; then fi if [ $HTTP_PROXY = YES ]; then - have=NGX_HTTP_PROXY . auto/have + have=NGX_HTTP_X_FORWARDED_FOR . auto/have #USE_MD5=YES HTTP_MODULES="$HTTP_MODULES $HTTP_PROXY_MODULE" HTTP_DEPS="$HTTP_DEPS $HTTP_PROXY_DEPS" |
