Browse Source

修改端口

master
liuchen 8 months ago
parent
commit
599ba0e2eb
  1. 8
      .env.test
  2. 4
      nginx.conf

8
.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'

4
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/ {

Loading…
Cancel
Save