]> git.kaiwu.me - nginx.git/commitdiff
add listen address in error message
authorIgor Sysoev <igor@sysoev.ru>
Wed, 21 Oct 2009 19:13:27 +0000 (19:13 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 21 Oct 2009 19:13:27 +0000 (19:13 +0000)
src/http/ngx_http.c

index 6258380ca286a7b5f9a2642b8b682e54643fb553..15b53feab2ca9b28a8920a3a761d41dbd03ce3c7 100644 (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;
             }