From feb0f9982068f6015671eacfd5d11ae8264dda8d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Jan 2021 11:11:57 +0100 Subject: Use 127.0.0.1 for nginx proxy in prod doc Because localhost could also target ipv6 --- support/doc/production.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support') 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. ``` $ 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. -- cgit v1.2.3