aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-04 10:29:08 +0100
committerChocobozzz <me@florianbigard.com>2021-01-04 10:29:08 +0100
commit4948dcdbeb4b097770167b50f2bddade6ae88370 (patch)
treea8342228fa2c256db40bc98749ee291c88566a5f
parent027e3080998c3e99e3a16bc336ccf47e0f1d5a8e (diff)
downloadPeerTube-4948dcdbeb4b097770167b50f2bddade6ae88370.tar.gz
PeerTube-4948dcdbeb4b097770167b50f2bddade6ae88370.tar.zst
PeerTube-4948dcdbeb4b097770167b50f2bddade6ae88370.zip
Add config.yaml copy info in doc
-rw-r--r--support/doc/production.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/support/doc/production.md b/support/doc/production.md
index 90ae042a2..9df79f870 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -75,14 +75,21 @@ $ cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-l
75 75
76### PeerTube configuration 76### PeerTube configuration
77 77
78Copy example configuration: 78Copy the default configuration file that contains the default configuration provided by PeerTube.
79You **must not** update this file.
80
81```
82$ cd /var/www/peertube && sudo -u peertube cp peertube-latest/config/default.yaml.example config/default.yaml
83```
84
85Now copy the production example configuration:
79 86
80``` 87```
81$ cd /var/www/peertube && sudo -u peertube cp peertube-latest/config/production.yaml.example config/production.yaml 88$ cd /var/www/peertube && sudo -u peertube cp peertube-latest/config/production.yaml.example config/production.yaml
82``` 89```
83 90
84Then edit the `config/production.yaml` file according to your webserver 91Then edit the `config/production.yaml` file according to your webserver
85configuration. 92configuration. Keys defined in `config/production.yaml` will override keys defined in `config/default.yaml`.
86 93
87**PeerTube does not support webserver host change**. Even though [PeerTube CLI can help you to switch hostname](https://docs.joinpeertube.org/#/maintain-tools?id=update-hostjs) there's no official support for that since it is a risky operation that might result in unforeseen errors. 94**PeerTube does not support webserver host change**. Even though [PeerTube CLI can help you to switch hostname](https://docs.joinpeertube.org/#/maintain-tools?id=update-hostjs) there's no official support for that since it is a risky operation that might result in unforeseen errors.
88 95