summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.c
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.c
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.c')
-rw-r--r--src/http/ngx_http_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index dae91f080..8206666a4 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -129,7 +129,7 @@ ngx_http_header_t ngx_http_headers_in[] = {
{ ngx_string("Keep-Alive"), offsetof(ngx_http_headers_in_t, keep_alive),
ngx_http_process_header_line },
-#if (NGX_HTTP_PROXY || NGX_HTTP_REALIP)
+#if (NGX_HTTP_PROXY || NGX_HTTP_REALIP || NGX_HTTP_GEO)
{ ngx_string("X-Forwarded-For"),
offsetof(ngx_http_headers_in_t, x_forwarded_for),
ngx_http_process_header_line },