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