From 67f88e9cc678d31b5995518922d3fcb63a129465 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 12 Mar 2004 16:57:08 +0000 Subject: nginx-0.0.2-2004-03-12-19:57:08 import --- src/http/ngx_http_headers.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/http/ngx_http_headers.c') diff --git a/src/http/ngx_http_headers.c b/src/http/ngx_http_headers.c index 1820ea768..83fcae5cb 100644 --- a/src/http/ngx_http_headers.c +++ b/src/http/ngx_http_headers.c @@ -29,6 +29,11 @@ ngx_http_header_t ngx_http_headers_in[] = { { ngx_string("Keep-Alive"), offsetof(ngx_http_headers_in_t, keep_alive) }, +#if (NGX_HTTP_PROXY) + { ngx_string("X-Forwarded-For"), + offsetof(ngx_http_headers_in_t, x_forwarded_for) }, +#endif + { ngx_null_string, 0 } }; -- cgit