certbot-auto certonly –webroot -w /usr/share/nginx/html/yama-lab.com -d yama-lab.com

Lets encrypt(certbot-auto)の更新コマンド備忘めも。

# certbot-auto certonly --webroot -w /usr/share/nginx/html/yama-lab.com -d yama-lab.com
# systemctl restart nginx