Setup certbot + nginx SSL on Ubuntu
2018.03.15
linuxubuntunginxsslcertbot
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-nginx
sudo certbot --nginx -d example.com -d www.example.com
sudo certbot renew --dry-run
Via: DigitalOcean — How To Secure Nginx with Let’s Encrypt on Ubuntu 16.04