From: Igor Sysoev Date: Wed, 21 Oct 2009 19:13:27 +0000 (+0000) Subject: add listen address in error message X-Git-Tag: release-0.8.21~9 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=ba3083bfce4d9eddee72439e33c91456206bfebc;p=nginx.git add listen address in error message --- diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 6258380ca..15b53feab 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -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; }