diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/production.md | 11 |
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 | ||
78 | Copy example configuration: | 78 | Copy the default configuration file that contains the default configuration provided by PeerTube. |
79 | You **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 | |||
85 | Now 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 | ||
84 | Then edit the `config/production.yaml` file according to your webserver | 91 | Then edit the `config/production.yaml` file according to your webserver |
85 | configuration. | 92 | configuration. 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 | ||