From: Igor Sysoev Date: Thu, 27 Nov 2008 14:46:01 +0000 (+0000) Subject: r2220 merge: X-Git-Tag: release-0.6.34~1 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=ad22b3d1f0a8beb582b383968d1f1af344478d94;p=nginx.git r2220 merge: set listen configuration to default server, this fixes the case, when default server is not the first one --- diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 3ef1dcbc8..deb3636a4 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -558,6 +558,7 @@ ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) in_addr[a].core_srv_conf = cscfp[s]; in_addr[a].default_server = 1; + in_addr[a].listen_conf = &lscf[l].conf; } goto found;