Lets Encrypt and reverse proxy

I use “standalone” mode and reverse proxy the challenge onto certbot. Ideas about how to automate initial configuration of certificates