RaoufCherif / traiteur

0 stars 0 forks source link

Obtaine a certificate https with Certbot #46

Open RaoufCherif opened 10 months ago

RaoufCherif commented 10 months ago
RaoufCherif commented 10 months ago

sudo apt-get update sudo apt-get install certbot OR sudo apt-get install python3-certbot-nginx sudo certbot --nginx

for renewal each 90 days run sudo certbot renew --dry-run & sudo crontab -e

copy this line on the file crontab to run the renewal twice a day

0 */12 * * * certbot renew --quiet