diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-01 16:12:00 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-01 16:12:00 +0100 |
commit | e6607b2512310a1440e235fe9c4d67fe36f7b317 (patch) | |
tree | e779c6ec4830a1d9fde872057de37f0e34609e0d | |
parent | 99915ae3ec0710de3de6a43cf315f957dbf2b8e4 (diff) | |
download | PeerTube-e6607b2512310a1440e235fe9c4d67fe36f7b317.tar.gz PeerTube-e6607b2512310a1440e235fe9c4d67fe36f7b317.tar.zst PeerTube-e6607b2512310a1440e235fe9c4d67fe36f7b317.zip |
Upgrade production guide for nginx
-rw-r--r-- | support/doc/production.md | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
95 | 95 | ||
96 | ``` | 96 | ``` |
97 | $ sudo systemctl stop nginx | 97 | $ sudo systemctl stop nginx |
98 | $ sudo vim /etc/nginx/sites-available/peertube # Comment ssl_certificate and ssl_certificate_key lines | ||
98 | $ sudo certbot --authenticator standalone --installer nginx --post-hook "systemctl start nginx" | 99 | $ sudo certbot --authenticator standalone --installer nginx --post-hook "systemctl start nginx" |
100 | $ sudo vim /etc/nginx/sites-available/peertube # Uncomment ssl_certificate and ssl_certificate_key lines | ||
101 | $ sudo systemctl reload nginx | ||
99 | ``` | 102 | ``` |
100 | 103 | ||
101 | Remember your certificate will expire in 90 days, and thus needs renewal. | 104 | Remember your certificate will expire in 90 days, and thus needs renewal. |