# HG changeset patch # User Igor Sysoev # Date 1193148906 0 # Node ID cba2bb1796e4bb150a421e9d629317ec693ea019 # Parent 1d659775325af94b541fd7907a4f578e63443ae7 change emerg to a warn for absolute index diff --git a/src/http/modules/ngx_http_index_module.c b/src/http/modules/ngx_http_index_module.c --- a/src/http/modules/ngx_http_index_module.c +++ b/src/http/modules/ngx_http_index_module.c @@ -473,10 +473,9 @@ ngx_http_index_set_index(ngx_conf_t *cf, for (i = 1; i < cf->args->nelts; i++) { if (value[i].data[0] == '/' && i != cf->args->nelts - 1) { - ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, + ngx_conf_log_error(NGX_LOG_WARN, cf, 0, "only the last index in \"index\" directive " - "may be absolute"); - return NGX_CONF_ERROR; + "should be absolute"); } if (value[i].len == 0) {