Upgrade production guide for nginx

This commit is contained in:
Chocobozzz 2018-03-01 16:12:00 +01:00
parent 99915ae3ec
commit e6607b2512
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 0 deletions

View File

@ -95,7 +95,10 @@ 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 --authenticator standalone --installer nginx --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
``` ```
Remember your certificate will expire in 90 days, and thus needs renewal. Remember your certificate will expire in 90 days, and thus needs renewal.