commit | d76eb9a8c8f9353a1fa7d311797ecaaf78748945 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Fri Aug 29 13:43:38 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Fri Aug 29 13:43:38 2008 +0000 |
tree | 5bb6383288c1efd05c00f2d1d63df04226f10225 | |
parent | e04b4204a858a7b29579d04d824d50d9d9464045 [diff] |
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 4cea282..492cfa0 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c
@@ -1158,6 +1158,7 @@ in_addr[a].core_srv_conf = cscfp[s]; in_addr[a].default_server = 1; + in_addr[a].listen_conf = &listen[l].conf; } goto found;