diff --git a/.env.production b/.env.production index 3baf54e..edd9cb1 100644 --- a/.env.production +++ b/.env.production @@ -4,10 +4,10 @@ NODE_ENV=test VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://10.62.193.15:25100/api' +VITE_BASE_URL='http://10.62.139.32:80/api' # 上传路径 -VITE_UPLOAD_URL='http://10.62.193.15:25100/api/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://10.62.139.32:80/api/admin-api/infra/file/upload' # 接口前缀 VITE_API_BASEPATH= @@ -31,7 +31,7 @@ VITE_BASE_PATH=/ VITE_OUT_DIR=eam # 自定义接口路径 -VITE_INTERFACE_URL='http://10.62.193.15:25110/magic/web/index.html' +VITE_INTERFACE_URL='http://10.62.139.32:80/magic/web/index.html' # 积木报表请求路径 -VITE_JMREPORT_BASE_URL='http://10.62.193.15:25110' +VITE_JMREPORT_BASE_URL='http://10.62.139.32:80' diff --git a/nginx.conf b/nginx.conf index d5aa0a2..2679b86 100644 --- a/nginx.conf +++ b/nginx.conf @@ -27,10 +27,10 @@ http { gzip_vary on; gzip_disable "MSIE [1-6]\."; upstream eam { - server localhost:25210 weight=10 max_fails=3 fail_timeout=10s; + server localhost:90 weight=10 max_fails=3 fail_timeout=10s; } server { - listen 25200; + listen 80; server_name_in_redirect off; server_name dev.ccwin-in.com; location /api/ {