Fix certbot section
This commit is contained in:
parent
5a6de09313
commit
2c92b0634f
1 changed files with 4 additions and 6 deletions
|
@ -120,9 +120,7 @@ To generate the certificate for your domain as required to make https work you c
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo systemctl stop nginx
|
$ sudo systemctl stop nginx
|
||||||
$ sudo vim /etc/nginx/sites-available/peertube # Comment ssl_certificate and ssl_certificate_key lines
|
$ sudo certbot certonly --standalone --post-hook "systemctl start nginx"
|
||||||
$ 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 systemctl reload nginx
|
$ sudo systemctl reload nginx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue