]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Use 127.0.0.1 for nginx proxy in prod doc
authorChocobozzz <me@florianbigard.com>
Thu, 7 Jan 2021 10:11:57 +0000 (11:11 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 7 Jan 2021 10:11:57 +0000 (11:11 +0100)
Because localhost could also target ipv6

support/doc/production.md

index a55c7930f4a1539949f200957f6826e7d03efd5f..9f5b8e71b204361838932d6b30765e2dd9ca17a1 100644 (file)
@@ -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.