ljlong_2630 5 months ago
parent
commit
5066be0c7d
  1. 2
      .env.production
  2. 2
      .env.test
  3. 2
      nginx_prod.conf

2
.env.production

@ -28,7 +28,7 @@ VITE_SOURCEMAP=false
VITE_BASE_PATH=/ VITE_BASE_PATH=/
# 输出路径 # 输出路径
VITE_OUT_DIR=eam VITE_OUT_DIR=eam-ui
# 自定义接口路径 # 自定义接口路径
VITE_INTERFACE_URL='http://10.62.139.32:90/magic/web/index.html' VITE_INTERFACE_URL='http://10.62.139.32:90/magic/web/index.html'

2
.env.test

@ -28,7 +28,7 @@ VITE_SOURCEMAP=false
VITE_BASE_PATH=/ VITE_BASE_PATH=/
# 输出路径 # 输出路径
VITE_OUT_DIR=eam VITE_OUT_DIR=eam-ui
# 自定义接口路径 # 自定义接口路径
VITE_INTERFACE_URL='http://dev.ccwin-in.com:25210/magic/web/index.html' VITE_INTERFACE_URL='http://dev.ccwin-in.com:25210/magic/web/index.html'

2
nginx_prod.conf

@ -27,7 +27,7 @@ http {
gzip_vary on; gzip_vary on;
gzip_disable "MSIE [1-6]\."; gzip_disable "MSIE [1-6]\.";
upstream eam { upstream eam {
server localhost:90 weight=10 max_fails=3 fail_timeout=10s; server 10.62.139.32:90 weight=10 max_fails=3 fail_timeout=10s;
} }
server { server {
listen 80; listen 80;

Loading…
Cancel
Save