mirror of
https://github.com/nginx/nginx.git
synced 2025-06-08 02:02:38 +08:00
add listen address in error message
This commit is contained in:
parent
42b72993c5
commit
ba3083bfce
@ -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…
Reference in New Issue
Block a user