r2220 merge:

set listen configuration to default server,
this fixes the case, when default server is not the first one
This commit is contained in:
Igor Sysoev 2008-11-27 14:46:01 +00:00
parent caafe12b9c
commit be6bfbe864
1 changed files with 1 additions and 0 deletions

View File

@ -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;