Browse Source

配置文件修改

master_hella_20240701
陈薪名 8 months ago
parent
commit
5a97ea1dbc
  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:25100/api'
VITE_BASE_URL='http://dev.ccwin-in.com:25300/api'
# 上传路径
VITE_UPLOAD_URL='http://dev.ccwin-in.com:25100/api/admin-api/infra/file/upload'
VITE_UPLOAD_URL='http://dev.ccwin-in.com:25300/api/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=
@ -31,7 +31,7 @@ VITE_BASE_PATH=/
VITE_OUT_DIR=sfms3.0
# 自定义接口路径
VITE_INTERFACE_URL='http://dev.ccwin-in.com:25110/magic/web/index.html'
VITE_INTERFACE_URL='http://dev.ccwin-in.com:25310/magic/web/index.html'
# 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:25110'
VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:25310'

4
nginx.conf

@ -27,10 +27,10 @@ http {
gzip_vary on;
gzip_disable "MSIE [1-6]\.";
upstream sfms3.0 {
server localhost:25110 weight=10 max_fails=3 fail_timeout=10s;
server localhost:25310 weight=10 max_fails=3 fail_timeout=10s;
}
server {
listen 25100;
listen 25300;
server_name_in_redirect off;
server_name dev.ccwin-in.com;
location /api/ {

Loading…
Cancel
Save