I used nginx to build a web service, using Let's Encrypt and my own domain name. However, the certificate must be renewed every three months. Currently, the certificate is downloaded from the web panel and then manually placed in the specified directory of the virtual machine.
How to automatically renew?
How to download the certificate to the specified location?