setup a let's encrypt certificate on ubuntu nginx code example Example: how to secure letsencrypt on ubuntu 20.04 with nginx sudo apt install certbot python3-certbot-nginx