Browse Source

修改富维正式环境10.62.139.32

master
songguoqiang 8 months ago
parent
commit
c34dbec88e
  1. 8
      .env.production
  2. 4
      nginx.conf

8
.env.production

@ -4,10 +4,10 @@ NODE_ENV=test
VITE_DEV=false 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= VITE_API_BASEPATH=
@ -31,7 +31,7 @@ VITE_BASE_PATH=/
VITE_OUT_DIR=eam 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'

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 eam { 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 { server {
listen 25200; listen 80;
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