letsencrypt certificate for nginx ubuntu code example
Example 1: how to secure letsencrypt on ubuntu 20.04 with nginx
sudo apt install certbot python3-certbot-nginx
Example 2: ubuntu certbot nginx
sudo add-apt-repository ppa:certbot/certbot
sudo apt install python-certbot-nginx
sudo certbot --nginx -d example.com -d www.example.com