setup ssl by default using certbot from lets encrypt
https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx
sudo add-apt-repository ppa:certbot/certbot sudo apt-get install certbot python-certbot-nginx sudo certbot --nginx sudo certbot renew --dry-run
Edited by Gregory Kman