NAIROBI, Kenya -- The Kenyan government over the weekend said it will bar passengers travelling from three West African countries hit by the Ebola outbreak, closing a debate in East Africa's economic powerhouse about whether the national airline was exposing the country to the deadly disease.

The suspension is effective midnight Tuesday for all ports of entry for people travelling from or through Sierra Leone, Guinea and Liberia, said Kenya's Health Ministry. Nigeria was not included in the ban, which also allows entry to health professionals and Kenyans returning from those countries.

"This step is in line with the recognition of the extraordinary measures urgently required to contain the Ebola outbreak in West Africa," the Health Ministry said. It cited the World Health Organization's recent statement that the magnitude of the Ebola outbreak has been underestimated.

Following the government's announcement Saturday, Kenya Airways said it would suspend flights to Liberia and Sierra Leone. Kenya Airways, a major transport provider in Africa, has wrestled with the decision whether to continue flying to West Africa during the Ebola outbreak. Its suspension of flights is an abrupt reversal of its announcement Friday that it would continue flying.

Social commentators, medical experts and Kenyan politicians said they feared the airline was putting profits ahead of prudence, and that KQ, as the airline is known, would spread Ebola. The airline flies more than 70 flights a week to West Africa, but chief executive Titus Naikuni told a news conference Friday that airline's flight decisions had nothing to do with money.

He said flights actually help to contain the Ebola outbreak by transporting medical staff, supplies and equipment to West Africa.

But doctors representing the Kenya Medical Association had asked Kenya Airways to suspend flights to the four countries affected by Ebola "until things stabilize." Members of parliament also called on the carrier to halt its West African operations.