Let's encrypt + Nginx
Nginx
server_name example.com www.example.com;
let's encrypt
sudo certbot --nginx -d example.com -d www.example.com
Nginx
server_name example.com www.example.com;
let's encrypt
sudo certbot --nginx -d example.com -d www.example.com