My Cloudflare tunnel configurations suddenly stopped working. I was getting

ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: remote error: tls: unrecognized name"

which led me to this issue https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2696

After some trial and error things are now working again. I was using wildcard domain names in the ingress rules of cloudflared. Somehow this no longer works, I have to manually create an ingress rule for each subdomain. Obviously this has nothing to do with the NginxProxyManager, rather cloudflare has changed something.