diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-10-26 16:42:19 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-10-26 16:42:19 +0000 |
| commit | bedabd488c1ddcb4cca2430a753884684c14d95a (patch) | |
| tree | 606aadf2b670db125c7d041ead3dc219d7a437db /src/http/ngx_http_request.c | |
| parent | 703b5e904356888f3fde0fc3c23a766ce094b75d (diff) | |
| download | nginx-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.c | 2 |
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 }, |
