diff options
| author | willmafh <willmafh@hotmail.com> | 2025-09-08 22:03:30 +0800 |
|---|---|---|
| committer | pluknet <pluknet@nginx.com> | 2025-09-18 18:16:22 +0400 |
| commit | bc71625dcca1f1cbd0db7450af853feb90ebba85 (patch) | |
| tree | b1196eaa719d2f7ffba1191d5ff37af45f95991d | |
| parent | 417c87b78dd9e69dbea3ec41313c9950b4721f8e (diff) | |
| download | nginx-bc71625dcca1f1cbd0db7450af853feb90ebba85.tar.gz nginx-bc71625dcca1f1cbd0db7450af853feb90ebba85.tar.bz2 | |
Fixed inaccurate index directive error report.
| -rw-r--r-- | src/http/modules/ngx_http_index_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_index_module.c b/src/http/modules/ngx_http_index_module.c index 2ee1dd5a4..18e7049c5 100644 --- a/src/http/modules/ngx_http_index_module.c +++ b/src/http/modules/ngx_http_index_module.c @@ -490,7 +490,7 @@ ngx_http_index_set_index(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) if (value[i].len == 0) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "index \"%V\" in \"index\" directive is invalid", - &value[1]); + &value[i]); return NGX_CONF_ERROR; } |
