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;