Side Sleeping?

Bianca • 26- Registered Nurse- Mommy to a 2 year old baby girl named Avery!!
Hey fellow mommies!
So my pediatrician told me baby should ONLY sleep in her back but I've found that she loves sleeping on her side. Does anyone know if it's safe? She's 6 weeks now, and I just want some sleep lol