diff options
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/production.md | 7 |
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 | ||
99 | Then set the domain for the webserver configuration file. | ||
100 | Replace `[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 | |||
99 | Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations. | 106 | Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations. |
100 | It should correspond to the paths of your storage directories (set in the configuration file inside the `storage` key). | 107 | It should correspond to the paths of your storage directories (set in the configuration file inside the `storage` key). |
101 | 108 | ||