HTTPS with let's encrypt
Install certbot
sudo add-apt-repository ppa:certbot/certbotsudo apt install certbotsudo certbot certonly --standalone -d www.example.comls /etc/letsencrypt/live/example.com
sudo add-apt-repository ppa:certbot/certbotsudo apt install certbotsudo certbot certonly --standalone -d www.example.comls /etc/letsencrypt/live/example.com