Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index b50d580c5..5a23d1dbb 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -595,8 +595,8 @@ ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
if (rc == NGX_BUSY) {
ngx_log_error(NGX_LOG_WARN, cf->log, 0,
- "conflicting server name \"%V\", ignored",
- &name[s].name);
+ "conflicting server name \"%V\" on %s, ignored",
+ &name[s].name, in_addr[a].listen_conf->addr);
}
}
@@ -617,8 +617,8 @@ ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
if (rc == NGX_BUSY) {
ngx_log_error(NGX_LOG_WARN, cf->log, 0,
- "conflicting server name \"%V\", ignored",
- &name[s].name);
+ "conflicting server name \"%V\" on %s, ignored",
+ &name[s].name, in_addr[a].listen_conf->addr);
}
}