Klaus Demo nginx / 747bb06
change emerg to a warn for absolute index Igor Sysoev 14 years ago
1 changed file(s) with 2 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
472472
473473 for (i = 1; i < cf->args->nelts; i++) {
474474 if (value[i].data[0] == '/' && i != cf->args->nelts - 1) {
475 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
475 ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
476476 "only the last index in \"index\" directive "
477 "may be absolute");
478 return NGX_CONF_ERROR;
477 "should be absolute");
479478 }
480479
481480 if (value[i].len == 0) {