mirror of
https://github.com/nginx/nginx.git
synced 2026-06-27 04:12:05 +00:00
add listen address in error message
This commit is contained in:
parent
42b72993c5
commit
ba3083bfce
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue