I use acme.sh with DNS challenges on an external machine. Then I push up (rsync) the certs and reload Nginx.
Here’s a blog post https://blog.uxtly.com/isolated-tls-certificate-creation
Here’s a blog post https://blog.uxtly.com/isolated-tls-certificate-creation