aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-14 14:59:15 +0200
committerChocobozzz <me@florianbigard.com>2020-08-14 14:59:15 +0200
commit2c92b0634f780b62e26380939fcdc0508f55a1cb (patch)
treec6db003eddc387c569432b38705ab2b218f2d46d
parent5a6de09313cbadda92175a5055edd12e1c205970 (diff)
downloadPeerTube-2c92b0634f780b62e26380939fcdc0508f55a1cb.tar.gz
PeerTube-2c92b0634f780b62e26380939fcdc0508f55a1cb.tar.zst
PeerTube-2c92b0634f780b62e26380939fcdc0508f55a1cb.zip
Fix certbot section
-rw-r--r--support/doc/production.md10
1 files changed, 4 insertions, 6 deletions
diff --git a/support/doc/production.md b/support/doc/production.md
index 6febaba5d..effbb0cb2 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -96,8 +96,8 @@ Copy the nginx configuration template:
96$ sudo cp /var/www/peertube/peertube-latest/support/nginx/peertube /etc/nginx/sites-available/peertube 96$ sudo cp /var/www/peertube/peertube-latest/support/nginx/peertube /etc/nginx/sites-available/peertube
97``` 97```
98 98
99Then set the domain for the webserver configuration file. 99Then set the domain for the webserver configuration file.
100Replace `[peertube-domain]` with the domain for the peertube server. 100Replace `[peertube-domain]` with the domain for the peertube server.
101 101
102``` 102```
103$ sudo sed -i 's/peertube.example.com/[peertube-domain]/g' /etc/nginx/sites-available/peertube 103$ sudo sed -i 's/peertube.example.com/[peertube-domain]/g' /etc/nginx/sites-available/peertube
@@ -120,9 +120,7 @@ To generate the certificate for your domain as required to make https work you c
120 120
121``` 121```
122$ sudo systemctl stop nginx 122$ sudo systemctl stop nginx
123$ sudo vim /etc/nginx/sites-available/peertube # Comment ssl_certificate and ssl_certificate_key lines 123$ sudo certbot certonly --standalone --post-hook "systemctl start nginx"
124$ sudo certbot --authenticator standalone --installer nginx --post-hook "systemctl start nginx"
125$ sudo vim /etc/nginx/sites-available/peertube # Uncomment ssl_certificate and ssl_certificate_key lines
126$ sudo systemctl reload nginx 124$ sudo systemctl reload nginx
127``` 125```
128 126
@@ -238,7 +236,7 @@ to your own administrator password, although it must be 6 characters or more.
238### What now? 236### What now?
239 237
240Now your instance is up you can: 238Now your instance is up you can:
241 239
242 * Subscribe to the mailing list for PeerTube administrators: https://framalistes.org/sympa/subscribe/peertube-admin 240 * Subscribe to the mailing list for PeerTube administrators: https://framalistes.org/sympa/subscribe/peertube-admin
243 * Add you instance to the public PeerTube instances index if you want to: https://instances.peertu.be/ 241 * Add you instance to the public PeerTube instances index if you want to: https://instances.peertu.be/
244 * Check [available CLI tools](/support/doc/tools.md) 242 * Check [available CLI tools](/support/doc/tools.md)