Browse Source

生产环境

master
zhang_li 8 months ago
parent
commit
fa3c59ff66
  1. 6
      .env.production
  2. 4
      nginx.conf

6
.env.production

@ -1,4 +1,2 @@
# VITE_BASE_URL=http://dev.ccwin-in.com:23111/app VITE_BASE_URL=http://10.62.139.32:82/api/admin-api
# VITE_BASE_URL_IMAGE=http://dev.ccwin-in.com:23111 VITE_BASE_URL_IMAGE=http://10.62.139.32:82/api/admin-api
VITE_BASE_URL=https://tmsapp.hongxianggroup.com.cn
VITE_BASE_URL_IMAGE=https://tmsapp.hongxianggroup.com.cn

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 25203; listen 82;
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