Fix certbot section

This commit is contained in:
Chocobozzz 2020-08-14 14:59:15 +02:00
parent 5a6de09313
commit 2c92b0634f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 6 deletions

View File

@ -120,9 +120,7 @@ To generate the certificate for your domain as required to make https work you c
```
$ sudo systemctl stop nginx
$ sudo vim /etc/nginx/sites-available/peertube # Comment ssl_certificate and ssl_certificate_key lines
$ sudo certbot --authenticator standalone --installer nginx --post-hook "systemctl start nginx"
$ sudo vim /etc/nginx/sites-available/peertube # Uncomment ssl_certificate and ssl_certificate_key lines
$ sudo certbot certonly --standalone --post-hook "systemctl start nginx"
$ sudo systemctl reload nginx
```