X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Fproduction.md;h=0ee275e9e675c1451e665aeef46019e67f728cc8;hb=1a9b141d835cf3bfe9bdca67f881b520975f9058;hp=b8877ca8b0dc3153bf0518ba05f6f0ce26137ec9;hpb=8e98e6124d2b006ba9f616b0dfce7369fa7b2684;p=github%2FChocobozzz%2FPeerTube.git 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. 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 +$ sudo sed -i 's/${WEBSERVER_HOST}/[peertube-domain]/g' /etc/nginx/sites-available/peertube +$ sudo sed -i 's/${PEERTUBE_HOST}/localhost:9000/g' /etc/nginx/sites-available/peertube ``` Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations.