From 599ba0e2ebce7092a0dbd52653934e671fadd33e Mon Sep 17 00:00:00 2001 From: liuchen <23082234@qq.com> Date: Tue, 6 Feb 2024 07:25:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.test | 8 ++++---- nginx.conf | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.test b/.env.test index 2863239..acaccb8 100644 --- a/.env.test +++ b/.env.test @@ -4,10 +4,10 @@ NODE_ENV=test VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://dev.ccwin-in.com:27009/api' +VITE_BASE_URL='http://dev.ccwin-in.com:28009/api' # 上传路径 -VITE_UPLOAD_URL='http://dev.ccwin-in.com:27009/api/infra/file/upload' +VITE_UPLOAD_URL='http://dev.ccwin-in.com:28009/api/infra/file/upload' # 接口前缀 VITE_API_BASEPATH= @@ -31,7 +31,7 @@ VITE_BASE_PATH=/ VITE_OUT_DIR=zhucheng # 自定义接口路径 -VITE_INTERFACE_URL='http://dev.ccwin-in.com:27009/magic/web/index.html' +VITE_INTERFACE_URL='http://dev.ccwin-in.com:28009/magic/web/index.html' # 积木报表请求路径 -VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:27009' +VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:28009' diff --git a/nginx.conf b/nginx.conf index 1c70512..fb00d3c 100644 --- a/nginx.conf +++ b/nginx.conf @@ -27,10 +27,10 @@ http { gzip_vary on; gzip_disable "MSIE [1-6]\."; upstream zhucheng { - server localhost:27009 weight=10 max_fails=3 fail_timeout=10s; + server localhost:28009 weight=10 max_fails=3 fail_timeout=10s; } server { - listen 27000; + listen 28000; server_name_in_redirect off; server_name dev.ccwin-in.com; location /api/ {