From: Chocobozzz Date: Thu, 1 Mar 2018 15:12:00 +0000 (+0100) Subject: Upgrade production guide for nginx X-Git-Tag: v1.0.0-alpha.2~5 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=e6607b2512310a1440e235fe9c4d67fe36f7b317;p=github%2FChocobozzz%2FPeerTube.git Upgrade production guide for nginx --- diff --git a/support/doc/production.md b/support/doc/production.md index 9241ab615..b3c6e9133 100644 --- a/support/doc/production.md +++ b/support/doc/production.md @@ -95,7 +95,10 @@ 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 systemctl reload nginx ``` Remember your certificate will expire in 90 days, and thus needs renewal.