From 01a270c9ddab8bc28029b78619166e826a1ac845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=AF=E5=B1=9E=E8=99=9A=E6=9E=84=E4=BA=BA=E5=A3=AB?= Date: Sun, 10 Mar 2024 06:43:08 +0000 Subject: [PATCH] update nginx.conf. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 纯属虚构人士 --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 93f261b..59a4e02 100644 --- a/nginx.conf +++ b/nginx.conf @@ -17,7 +17,7 @@ server { } location /prod-api/ { ## 后端项目 - 管理后台 - proxy_pass http://yudao-server:48080/; ## 重要!!!proxy_pass 需要设置为后端项目所在服务器的 IP + proxy_pass http://47.118.51.206:9091/; ## 重要!!!proxy_pass 需要设置为后端项目所在服务器的 IP proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header REMOTE-HOST $remote_addr; -- Gitee