diff options
| author | 2012-07-07 16:01:48 +0000 | |
|---|---|---|
| committer | 2012-07-07 16:01:48 +0000 | |
| commit | 804b71a0609acb5f92f9dcddca7d9200130484d9 (patch) | |
| tree | f00c8fb2d42c998ec27b6b9b0c899f878c118d15 /usr.sbin/nginx/src/http/ngx_http_request.c | |
| parent | add /var/www/cache for nginx to store some data (diff) | |
| download | wireguard-openbsd-804b71a0609acb5f92f9dcddca7d9200130484d9.tar.xz wireguard-openbsd-804b71a0609acb5f92f9dcddca7d9200130484d9.zip | |
update to 1.2.2 and start using /var/www/cache instead of /var/www/tmp
Diffstat (limited to 'usr.sbin/nginx/src/http/ngx_http_request.c')
| -rw-r--r-- | usr.sbin/nginx/src/http/ngx_http_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nginx/src/http/ngx_http_request.c b/usr.sbin/nginx/src/http/ngx_http_request.c index b1877131cc9..e0ae5241f4e 100644 --- a/usr.sbin/nginx/src/http/ngx_http_request.c +++ b/usr.sbin/nginx/src/http/ngx_http_request.c @@ -138,7 +138,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 || NGX_HTTP_GEO) +#if (NGX_HTTP_X_FORWARDED_FOR) { ngx_string("X-Forwarded-For"), offsetof(ngx_http_headers_in_t, x_forwarded_for), ngx_http_process_header_line }, |
