Nigeria is a major petroleum producer and Africa 's most populous nation .