diff src/http/ngx_http_request.h @ 2992:2465ff3da161

geo module supports trusted proxies
author Igor Sysoev <igor@sysoev.ru>
date Wed, 22 Jul 2009 09:43:14 +0000
parents 0bb8c54f4c45
children 67254117b774 ef8cfb09a50b
line wrap: on
line diff
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -184,7 +184,7 @@ typedef struct {
 
     ngx_table_elt_t                  *keep_alive;
 
-#if (NGX_HTTP_PROXY || NGX_HTTP_REALIP)
+#if (NGX_HTTP_PROXY || NGX_HTTP_REALIP || NGX_HTTP_GEO)
     ngx_table_elt_t                  *x_forwarded_for;
 #endif