From 4b4fab45be168b3e704d4b2da13bccf7c8635b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Fri, 18 Aug 2023 20:32:07 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=9B=B4=E6=96=B0=20core=20=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http_server.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_server.conf b/http_server.conf index 45e980e..1f96194 100644 --- a/http_server.conf +++ b/http_server.conf @@ -120,7 +120,7 @@ server { location ~ ^/(core|api|media)/ { proxy_pass http://core:8080; proxy_set_header X-Real-IP $remote_addr; - proxy_set_header Host $host; + proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }