Use 127.0.0.1 for nginx proxy in prod doc
Because localhost could also target ipv6
This commit is contained in:
parent
94f2bbe90b
commit
feb0f99820
|
@ -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/${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.
|
Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations.
|
||||||
|
|
Loading…
Reference in New Issue