SSL
Install and Configure SSL
Install SSL from Let's Encrypt
sudo apt update && sudo apt install certbot
sudo certbot certonly \
-a webroot --webroot-path=/usr/share/nginx/secure-ssl \
-d secure-ssl.linuxsec.org
Add auto renew to cronjob
0 0 1 * * /usr/bin/certbot renew >> /var/log/le-renew.log && /bin/systemctl restart nginx
Last updated