add listen address in error message

This commit is contained in:
Igor Sysoev 2009-10-21 19:13:27 +00:00
parent 42b72993c5
commit ba3083bfce

View File

@ -1215,7 +1215,7 @@ ngx_http_add_addresses(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf,
if (addr[i].opt.default_server) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
"the duplicate default server");
"a duplicate default server for %s", addr[i].opt.addr);
return NGX_ERROR;
}