diff options
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/production.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/support/doc/production.md b/support/doc/production.md index b8877ca8b..0ee275e9e 100644 --- a/support/doc/production.md +++ b/support/doc/production.md | |||
@@ -100,7 +100,8 @@ Then set the domain for the webserver configuration file. | |||
100 | Replace `[peertube-domain]` with the domain for the peertube server. | 100 | Replace `[peertube-domain]` with the domain for the peertube server. |
101 | 101 | ||
102 | ``` | 102 | ``` |
103 | $ sudo sed -i 's/peertube.example.com/[peertube-domain]/g' /etc/nginx/sites-available/peertube | 103 | $ sudo sed -i 's/${WEBSERVER_HOST}/[peertube-domain]/g' /etc/nginx/sites-available/peertube |
104 | $ sudo sed -i 's/${PEERTUBE_HOST}/localhost:9000/g' /etc/nginx/sites-available/peertube | ||
104 | ``` | 105 | ``` |
105 | 106 | ||
106 | Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations. | 107 | Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations. |