Browse Source

修改端口

master
liuchen 10 months ago
parent
commit
61034f019b
  1. 8
      .env.test
  2. 4
      nginx.conf

8
.env.test

@ -4,10 +4,10 @@ NODE_ENV=test
VITE_DEV=false VITE_DEV=false
# 请求路径 # 请求路径
VITE_BASE_URL='http://dev.ccwin-in.com:27019/api' VITE_BASE_URL='http://dev.ccwin-in.com:28019/api'
# 上传路径 # 上传路径
VITE_UPLOAD_URL='http://dev.ccwin-in.com:27019/api/admin-api/infra/file/upload' VITE_UPLOAD_URL='http://dev.ccwin-in.com:28019/api/admin-api/infra/file/upload'
# 接口前缀 # 接口前缀
VITE_API_BASEPATH= VITE_API_BASEPATH=
@ -31,7 +31,7 @@ VITE_BASE_PATH=/
VITE_OUT_DIR=huatao-spc VITE_OUT_DIR=huatao-spc
# 自定义接口路径 # 自定义接口路径
VITE_INTERFACE_URL='http://dev.ccwin-in.com:27019/magic/web/index.html' VITE_INTERFACE_URL='http://dev.ccwin-in.com:28019/magic/web/index.html'
# 积木报表请求路径 # 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:27019' VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:28019'

4
nginx.conf

@ -27,10 +27,10 @@ http {
gzip_vary on; gzip_vary on;
gzip_disable "MSIE [1-6]\."; gzip_disable "MSIE [1-6]\.";
upstream zhucheng { upstream zhucheng {
server localhost:27019 weight=10 max_fails=3 fail_timeout=10s; server localhost:28019 weight=10 max_fails=3 fail_timeout=10s;
} }
server { server {
listen 27010; listen 28010;
server_name_in_redirect off; server_name_in_redirect off;
server_name dev.ccwin-in.com; server_name dev.ccwin-in.com;
location /api/ { location /api/ {

Loading…
Cancel
Save