mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
set listen configuration to default server,
this fixes the case, when default server is not the first one
This commit is contained in:
parent
e04b4204a8
commit
d76eb9a8c8
1 changed files with 1 additions and 0 deletions
|
|
@ -1158,6 +1158,7 @@ ngx_http_init_server_lists(ngx_conf_t *cf, ngx_array_t *servers,
|
|||
|
||||
in_addr[a].core_srv_conf = cscfp[s];
|
||||
in_addr[a].default_server = 1;
|
||||
in_addr[a].listen_conf = &listen[l].conf;
|
||||
}
|
||||
|
||||
goto found;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue