Strip www from wildcard domain

Hi! I'm using Traefik v2 for my wilcard domain. city001.mydomain.xx, city002.my.. (more than 300)
Everything is working fine but sometimes clients enter www.city001.mydomain.xx - and correctly they receive cert errors. Is there a way to strip this www's ??? Thanks for any help!!! Fred

Something like this maybe?