Browse Source

fix: 生产环境

master
zhang_li 8 months ago
parent
commit
5c2eaf657c
  1. 4
      .env.production
  2. 4
      nginx.conf

4
.env.production

@ -1,2 +1,2 @@
VITE_BASE_URL=http://dev.ccwin-in.com:25202/api/admin-api
VITE_BASE_URL_IMAGE=http://dev.ccwin-in.com:25202/api/admin-api
VITE_BASE_URL=http://10.62.139.32:81/api/admin-api
VITE_BASE_URL_IMAGE=http://10.62.139.32:81/api/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 25202;
listen 81;
server_name_in_redirect off;
server_name dev.ccwin-in.com;
location /api/ {

Loading…
Cancel
Save