diff --git a/.env.prod13 b/.env.prod13 new file mode 100644 index 0000000..33438d4 --- /dev/null +++ b/.env.prod13 @@ -0,0 +1,9 @@ +# 海拉长春生产 +# port +VITE_DEV_PORT = '25101' + +# production path +VITE_BASE_URL = 'http://172.21.32.13:25101/api' + +# 租户开关 +VITE_APP_TENANT_ENABLE=true \ No newline at end of file diff --git a/.env.prod14 b/.env.prod14 new file mode 100644 index 0000000..d7acb3b --- /dev/null +++ b/.env.prod14 @@ -0,0 +1,9 @@ +# 海拉长春测试 +# port +VITE_DEV_PORT = '25101' + +# production path +VITE_BASE_URL = 'http://172.21.32.14:25101/api' + +# 租户开关 +VITE_APP_TENANT_ENABLE=true \ No newline at end of file diff --git a/.env.prod8 b/.env.prod8 new file mode 100644 index 0000000..dd6e2db --- /dev/null +++ b/.env.prod8 @@ -0,0 +1,9 @@ +# 海拉成都生产 +# port +VITE_DEV_PORT = '25101' + +# production path +VITE_BASE_URL = 'http://172.22.32.8:25101/api' + +# 租户开关 +VITE_APP_TENANT_ENABLE=true \ No newline at end of file diff --git a/.env.prod9 b/.env.prod9 new file mode 100644 index 0000000..f9aa5a7 --- /dev/null +++ b/.env.prod9 @@ -0,0 +1,9 @@ +# 海拉成都测试 +# port +VITE_DEV_PORT = '25101' + +# production path +VITE_BASE_URL = 'http://172.22.32.8:25101/api' + +# 租户开关 +VITE_APP_TENANT_ENABLE=true \ No newline at end of file diff --git a/.env.production b/.env.production deleted file mode 100644 index 66e1490..0000000 --- a/.env.production +++ /dev/null @@ -1,8 +0,0 @@ -# port -VITE_DEV_PORT = '25101' - -# production path -VITE_BASE_URL = 'http://10.62.193.15:25101/api' - -# 租户开关 -VITE_APP_TENANT_ENABLE=true \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index 8da7cf0..44eed55 100644 --- a/nginx.conf +++ b/nginx.conf @@ -32,7 +32,7 @@ http { server { listen 25101; server_name_in_redirect off; - server_name dev.ccwin-in.com; + server_name _; location /api/ { proxy_pass http://sfms3.0/; proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header; diff --git a/package.json b/package.json index 1522a08..b1e54c0 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,10 @@ "scripts": { "dev": "vite", "test": "vite build --mode test", - "prod": "vite build --mode production", + "prod8": "vite build --mode prod8", + "prod9": "vite build --mode prod9", + "prod13": "vite build --mode prod13", + "prod14": "vite build --mode prod14", "preview": "vite preview", "lint": "eslint --fix --ext .js,.vue src" },