zhang_li 8 months ago
parent
commit
aba0b09e0e
  1. 2
      .env.production
  2. 4
      nginx.conf

2
.env.production

@ -5,4 +5,4 @@ VUE_APP_TITLE = 闻荫管理系统
ENV = 'production'
# 闻荫管理系统/生产环境
VUE_APP_BASE_API = 'http://dev.ccwin-in.com:25204/api/admin-api'
VUE_APP_BASE_API = 'http://10.62.139.32:83/admin-api'

4
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 25204;
listen 83;
server_name_in_redirect off;
server_name dev.ccwin-in.com;
location /api/ {

Loading…
Cancel
Save