From 6e0bc62eea0404c8cd654968a38c4f8bc0d07aea Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 18 Sep 2019 10:12:55 +0100 Subject: add :$port to nginx Host header --- docs/rest_api/nginx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/rest_api') diff --git a/docs/rest_api/nginx b/docs/rest_api/nginx index a8d17ff9..de3e79c5 100644 --- a/docs/rest_api/nginx +++ b/docs/rest_api/nginx @@ -8,7 +8,7 @@ server { location / { proxy_pass http://localhost:5001; - proxy_set_header Host $host; + proxy_set_header Host $host:$port; proxy_set_header X-Forwarded-For $remote_addr; } } -- cgit v1.3.1-10-gc9f91