Skip to content

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

Use 127.0.0.1 for nginx proxy in prod doc

Chocobozzzfeb0f9982068
diff --git a/support/doc/production.md b/support/doc/production.md
index a55c7930f4..9f5b8e71b2 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -108,7 +108,7 @@ Replace `[peertube-domain]` with the domain for the peertube server.
```
$ 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
+$ sudo sed -i 's/${PEERTUBE_HOST}/127.0.0.1:9000/g' /etc/nginx/sites-available/peertube
```
Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations.