aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorManMade-cube42 <59210155+ManMade-cube42@users.noreply.github.com>2019-12-30 09:39:59 +0000
committerChocobozzz <me@florianbigard.com>2019-12-30 10:39:59 +0100
commit7a3864e818ff9e36dc991dab4ae4aa5a0a3dcf4d (patch)
tree76e16d0ac4e3b3e2c3317763382ab2b8eb79de98 /support
parent9d45db2919862640ad550c5326fb21ddc08d6d59 (diff)
downloadPeerTube-7a3864e818ff9e36dc991dab4ae4aa5a0a3dcf4d.tar.gz
PeerTube-7a3864e818ff9e36dc991dab4ae4aa5a0a3dcf4d.tar.zst
PeerTube-7a3864e818ff9e36dc991dab4ae4aa5a0a3dcf4d.zip
Replace `peertube.example.com` with user's Peertube domain. (#2356)
* Add Sed * Update production.md * Minor Fix (+ add sudo) * Update production.md
Diffstat (limited to 'support')
-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