Mise à jour de 'content/docs/hosting/nginx.md'
This commit is contained in:
parent
fd07b2a6e1
commit
946e69b6f3
|
@ -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>
|
||||
```
|
Loading…
Reference in New Issue