Mise à jour de 'content/docs/hosting/nginx.md'

This commit is contained in:
Romain de Laage 2020-11-16 17:16:30 +01:00
parent fd07b2a6e1
commit 946e69b6f3
1 changed files with 12 additions and 0 deletions

View File

@ -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 <mon domaine>
```