projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99915ae
)
Upgrade production guide for nginx
author
Chocobozzz
<me@florianbigard.com>
Thu, 1 Mar 2018 15:12:00 +0000
(16:12 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 1 Mar 2018 15:12:00 +0000
(16:12 +0100)
support/doc/production.md
patch
|
blob
|
history
diff --git
a/support/doc/production.md
b/support/doc/production.md
index 9241ab61512dd147b88c8e113f1b26f27ba066c2..b3c6e9133b3c10d7717923da7828237de67f9eb5 100644
(file)
--- 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.