From 946e69b6f3709d46f12edbe0976ef7d6fcd92d46 Mon Sep 17 00:00:00 2001 From: Romain de Laage Date: Mon, 16 Nov 2020 17:16:30 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'content/docs/hosti?= =?UTF-8?q?ng/nginx.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/docs/hosting/nginx.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/content/docs/hosting/nginx.md b/content/docs/hosting/nginx.md index 4d02f7b..42b61ea 100644 --- a/content/docs/hosting/nginx.md +++ b/content/docs/hosting/nginx.md @@ -40,3 +40,15 @@ server { } ``` Pour obtenir le certificat ssl il faut stopper le service nginx et lancer sudo certbot certonly --standalone -d example.com + +## Installer certbot pour nginx + +``` +sudo apt install python-certbot-nginx +``` + +utilisation : + +``` +sudo certbot run --nginx -d +``` \ No newline at end of file