Browse Source

feat: update config

master
TengXF 6 months ago
parent
commit
a1ce90c5b8
  1. 4
      .env.test
  2. 4
      nginx.conf

4
.env.test

@ -1,2 +1,2 @@
VITE_BASE_URL=http://dev.ccwin-in.com:25203/api/admin-api VITE_BASE_URL=http://dev.ccwin-in.com:25303/api/admin-api
VITE_BASE_URL_IMAGE=http://dev.ccwin-in.com:25203/api/admin-api VITE_BASE_URL_IMAGE=http://dev.ccwin-in.com:25303/api/admin-api

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:25310 weight=10 max_fails=3 fail_timeout=10s;
} }
server { server {
listen 25203; listen 25303;
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