From 78a205bdce6da3365f423f81c6723822ee01aff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=AE=87=E6=81=92?= <2751003160@qq.com> Date: Sat, 18 Nov 2023 09:53:24 +0000 Subject: [PATCH] update ssadmin-web/nginx.conf. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘宇恒 <2751003160@qq.com> --- ssadmin-web/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssadmin-web/nginx.conf b/ssadmin-web/nginx.conf index e157f52..9380725 100644 --- a/ssadmin-web/nginx.conf +++ b/ssadmin-web/nginx.conf @@ -16,7 +16,7 @@ server { try_files $uri $uri/ /index.html; } - location /api/ { ## 后端项目 - 管理后台 + location / { ## 后端项目 - 管理后台 proxy_pass http://ssadmin-server:28080/; ## 重要!!!proxy_pass 需要设置为后端项目所在服务器的 IP proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; -- Gitee