Cannot get Letsencrypt SSL using Mangento and Ngnix

SYSTEM INFORMATION
OS type and version Debian Linux 11 REQUIRED
Webmin version 2.105 REQUIRED
Virtualmin version 7.9.0 REQUIRED
Related packages varnish-6.5.1 SUGGESTED

Using the Virtualmin GUI to install or renew LetsEncrypt (I get it to install on account creation before adding Mangento) some domains give error cannot find the verification file that is placed in the ./well-known folder. Other domains give $MAGE_ROOT/pub not found