1
0
Fork 0

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

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
```