Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Replace `peertube.example.com` with user's Peertube domain. (#2356)

ManMade-cube427a3864e818ff
diff --git a/support/doc/production.md b/support/doc/production.md
index f770b58f6a..8f061f8680 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -96,6 +96,13 @@ Copy the nginx configuration template:
$ sudo cp /var/www/peertube/peertube-latest/support/nginx/peertube /etc/nginx/sites-available/peertube
```
+Then set the domain for the webserver configuration file.
+Replace `[peertube-domain]` with the domain for the peertube server.
+
+```
+$ sudo sed -i 's/peertube.example.com/[peertube-domain]/g' /etc/nginx/sites-available/peertube
+```
+
Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations.
It should correspond to the paths of your storage directories (set in the configuration file inside the `storage` key).