aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/production.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/support/doc/production.md b/support/doc/production.md
index f770b58f6..8f061f868 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -96,6 +96,13 @@ 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.
100Replace `[peertube-domain]` with the domain for the peertube server.
101
102```
103$ sudo sed -i 's/peertube.example.com/[peertube-domain]/g' /etc/nginx/sites-available/peertube
104```
105
99Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations. 106Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations.
100It should correspond to the paths of your storage directories (set in the configuration file inside the `storage` key). 107It should correspond to the paths of your storage directories (set in the configuration file inside the `storage` key).
101 108