From c2e1a21f8bf5436188d19aac83c792fceb927113 Mon Sep 17 00:00:00 2001 From: Pierre Coimbra Date: Mon, 28 Oct 2019 14:48:27 +0100 Subject: [PATCH] Renouvellement SSL --- nginx/templates_reverse_proxy_https.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nginx/templates_reverse_proxy_https.md b/nginx/templates_reverse_proxy_https.md index 899271b..a883165 100644 --- a/nginx/templates_reverse_proxy_https.md +++ b/nginx/templates_reverse_proxy_https.md @@ -196,3 +196,15 @@ server { } ``` +## Renouvelement automatique des certificats SSL sur le container NGINX de Alpha +Tout les certificats SSL sont édité depuis le container NGINX de Alpha pour éviter d'avoir à les renouveler manuellement nous allons créer une tache de renouvellement automatique avec cron. + +On accède au fichier de configuration des tâches cron +``` +crontab -e +``` +On ajoute notre tache de renouvelement en fin de fichier +``` +0 12 * * * /usr/bin/certbot renew --quiet +``` +Ainsi les certificats se renouveleront automatiquement. \ No newline at end of file