diff --git a/src/server.c b/src/server.c index 8ca704382..24732b301 100644 --- a/src/server.c +++ b/src/server.c @@ -1612,6 +1612,7 @@ static void srv_settings_cpy(struct server *srv, struct server *src, int srv_tmp srv->check.addr = srv->agent.addr = src->check.addr; srv->check.use_ssl = src->check.use_ssl; srv->check.port = src->check.port; + srv->check.sni = src->check.sni; /* Note: 'flags' field has potentially been already initialized. */ srv->flags |= src->flags; srv->do_check = src->do_check;