Mercurial > hg > nginx
diff src/http/ngx_http_headers.c @ 287:35a6a9df2d25
nginx-0.0.2-2004-03-12-19:57:08 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 12 Mar 2004 16:57:08 +0000 |
parents | fc8dc489247e |
children | 87e73f067470 |
line wrap: on
line diff
--- 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 } };