summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-10-26 16:42:19 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-10-26 16:42:19 +0000
commitbedabd488c1ddcb4cca2430a753884684c14d95a (patch)
tree606aadf2b670db125c7d041ead3dc219d7a437db /src/http/ngx_http_request.h
parent703b5e904356888f3fde0fc3c23a766ce094b75d (diff)
downloadnginx-bedabd488c1ddcb4cca2430a753884684c14d95a.tar.gz
nginx-bedabd488c1ddcb4cca2430a753884684c14d95a.tar.bz2
merge r2993:
geo module supports trusted proxies
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index fd830b2a5..51f8419b4 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -184,7 +184,7 @@ typedef struct {
ngx_table_elt_t *keep_alive;
-#if (NGX_HTTP_PROXY || NGX_HTTP_REALIP)
+#if (NGX_HTTP_PROXY || NGX_HTTP_REALIP || NGX_HTTP_GEO)
ngx_table_elt_t *x_forwarded_for;
#endif