About 50 people fell ill in Bangladesh after inhaling gas that leaked from a fertiliser factory in the port town of Chittagong, an official said on Tuesday.