git clone https://github.com/archervanderwaal/nginx-certbot-docker.git
chmod +x init-letsencrypt.sh renew.shAnd modify configuration
cat config.env
# domains=(archervanderwaal.com www.archervanderwaal.com)
# data_path=./data/certbot
# rsa_key_size=4096
# staging=0
# [email protected]After that
./init-letsencrypt.shUpdate your certificates regularly
0 0 1 * * ${your path}/renew.sh