Mercurial > hg > nginx-quic
changeset 1601:cba2bb1796e4
change emerg to a warn for absolute index
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 23 Oct 2007 14:15:06 +0000 |
parents | 1d659775325a |
children | 55c8aede41f5 |
files | src/http/modules/ngx_http_index_module.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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) {