Yesterday I ran into The wildcard subdomain environment variable cause issues #1478 when I was trying to set up the localtunnel server by myself, it wasted me serval hours for debugging.
After digging from the internet, I found that my issue is highlighted at Support wildcard certificates with ACMEv2 #319
Hope this feature could be supported in the future, and I'll try to find other potential solutions.
P.S. There's another Nginx proxy that supports SSL out-of-the-box, however, it seems outdated. See: ayufan/auto-proxy#4