diff options
Diffstat (limited to 'src/http/modules/ngx_http_index_handler.c')
-rw-r--r-- | src/http/modules/ngx_http_index_handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_index_handler.c b/src/http/modules/ngx_http_index_handler.c index 74ccf0ae1..892b825ae 100644 --- a/src/http/modules/ngx_http_index_handler.c +++ b/src/http/modules/ngx_http_index_handler.c @@ -477,12 +477,12 @@ static char *ngx_http_index_merge_loc_conf(ngx_conf_t *cf, } } -#endif - if (conf->max_index_len < prev->max_index_len) { conf->max_index_len = prev->max_index_len; } +#endif + if (conf->index_cache == NULL) { conf->index_cache = prev->index_cache; } |