mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 01:42:58 +08: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
@ -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…
Reference in New Issue
Block a user