aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-07 11:11:57 +0100
committerChocobozzz <me@florianbigard.com>2021-01-07 11:11:57 +0100
commitfeb0f9982068f6015671eacfd5d11ae8264dda8d (patch)
tree61d2d7b35ddf23bea83f56d517b7c37ca11c7669
parent94f2bbe90bc4d242f637f264c41481b8a5f8e004 (diff)
downloadPeerTube-feb0f9982068f6015671eacfd5d11ae8264dda8d.tar.gz
PeerTube-feb0f9982068f6015671eacfd5d11ae8264dda8d.tar.zst
PeerTube-feb0f9982068f6015671eacfd5d11ae8264dda8d.zip
Use 127.0.0.1 for nginx proxy in prod doc
Because localhost could also target ipv6
-rw-r--r--support/doc/production.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/doc/production.md b/support/doc/production.md
index a55c7930f..9f5b8e71b 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.
108 108
109``` 109```
110$ sudo sed -i 's/${WEBSERVER_HOST}/[peertube-domain]/g' /etc/nginx/sites-available/peertube 110$ sudo sed -i 's/${WEBSERVER_HOST}/[peertube-domain]/g' /etc/nginx/sites-available/peertube
111$ sudo sed -i 's/${PEERTUBE_HOST}/localhost:9000/g' /etc/nginx/sites-available/peertube 111$ sudo sed -i 's/${PEERTUBE_HOST}/127.0.0.1:9000/g' /etc/nginx/sites-available/peertube
112``` 112```
113 113
114Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations. 114Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations.