diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-07-22 09:43:14 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-07-22 09:43:14 +0000 |
commit | 15e3b01819bb5edab00c05e48cf7fb0cf9a5d9a5 (patch) | |
tree | c8d5ffcc6400e5c83ba2a5ca4236dfc1730b183a /src/http/ngx_http_request.c | |
parent | 16137b0e8cf4ecb82686ea30be6306f12f532812 (diff) | |
download | nginx-15e3b01819bb5edab00c05e48cf7fb0cf9a5d9a5.tar.gz nginx-15e3b01819bb5edab00c05e48cf7fb0cf9a5d9a5.zip |
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 cc75939e6..a0fcd717f 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 }, |