# HG changeset patch # User Igor Sysoev # Date 1256152407 0 # Node ID bfcc1a6dd184af2e15913f2099c65a5b4b870a0f # Parent a4f264c431737976e21252f528f0251ce8eeb281 add listen address in error message diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -1215,7 +1215,7 @@ ngx_http_add_addresses(ngx_conf_t *cf, n 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; }