diff src/http/ngx_http_upstream.h @ 64:5db440287648 NGINX_0_1_32

nginx 0.1.32 *) Bugfix: the arguments were omitted in the redirects, issued by the "rewrite" directive; bug appeared in 0.1.29. *) Feature: the "if" directive supports the captures in regular expressions. *) Feature: the "set" directive supports the variables and the captures of regular expressions. *) Feature: the "X-Accel-Redirect" response header line is supported in proxy and FastCGI mode.
author Igor Sysoev <http://sysoev.ru>
date Thu, 19 May 2005 00:00:00 +0400
parents b55cbf18157e
children da9a3b14312d
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -87,6 +87,7 @@ typedef struct {
     ngx_uint_t                      offset;
     ngx_http_header_handler_pt      copy_handler;
     ngx_uint_t                      conf;
+    ngx_uint_t                      redirect;  /* unsigned   redirect:1; */
 } ngx_http_upstream_header_t;
 
 
@@ -101,6 +102,7 @@ typedef struct {
     ngx_table_elt_t                *expires;
     ngx_table_elt_t                *etag;
     ngx_table_elt_t                *x_accel_expires;
+    ngx_table_elt_t                *x_accel_redirect;
 
     ngx_table_elt_t                *content_type;
     ngx_table_elt_t                *content_length;