TRIPOLI (Reuters) - Libya has reopened the only functioning airport in the capital Tripoli again after rockets fired in its direction forced a brief closure, officials said on Tuesday, days after flights had resumed following an earlier shutdown.

Matiga airport, a former air base used for commercial flights since the main international airport was destroyed in 2014 by militia fighting, said in a notice that traffic was resuming.

It has closed and opened several times since a flare-up in violence in late August.

Rival armed groups based in and outside the city have fought over territory and resources in the OPEC oil producer since the toppling of Muammar Gaddafi in 2011.