diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-05-31 14:41:54 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-05-31 14:41:54 +0000 |
commit | a5eefbc17467bf2eeb1f4aa6c43dfdc7a684a6ab (patch) | |
tree | 4a396f2539617d5b0b94c88cc2b48c379aaa9917 /src/http/ngx_http_core_module.h | |
parent | 34ab21c53ad39ef96d9fb1dcc4d6e9fc5a72f4a6 (diff) | |
download | nginx-a5eefbc17467bf2eeb1f4aa6c43dfdc7a684a6ab.tar.gz nginx-a5eefbc17467bf2eeb1f4aa6c43dfdc7a684a6ab.zip |
fix handling an inherited alias in inclusive location
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r-- | src/http/ngx_http_core_module.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h index 631f39927..01a2fbe8b 100644 --- a/src/http/ngx_http_core_module.h +++ b/src/http/ngx_http_core_module.h @@ -289,7 +289,6 @@ struct ngx_http_core_loc_conf_s { unsigned noregex:1; unsigned auto_redirect:1; - unsigned alias:1; #if (NGX_HTTP_GZIP) unsigned gzip_disable_msie6:2; #endif @@ -307,6 +306,8 @@ struct ngx_http_core_loc_conf_s { ngx_http_handler_pt handler; + /* location name length for inclusive location with inherited alias */ + size_t alias; ngx_str_t root; /* root, alias */ ngx_str_t post_action; |