diff options
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/production.md | 10 |
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 | ||
99 | Then set the domain for the webserver configuration file. | 99 | Then set the domain for the webserver configuration file. |
100 | Replace `[peertube-domain]` with the domain for the peertube server. | 100 | Replace `[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 | ||
240 | Now your instance is up you can: | 238 | Now 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) |