From 2336d345c055b9152737a4f632f87cd36b4ac087 Mon Sep 17 00:00:00 2001 From: dongsk Date: Thu, 3 Sep 2026 11:29:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0bexapi=20=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 2 +- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index d1671c3..5bb08bc 100644 --- a/nginx.conf +++ b/nginx.conf @@ -39,7 +39,7 @@ server { # Bexell 排程 API 反向代理 location /bexapi/ { - proxy_pass http://10.100.154.100:8003/api/; + proxy_pass https://ai-workshop.digiwincloud.com.cn/bexell-backend/api/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; diff --git a/vite.config.ts b/vite.config.ts index 7fb2533..7bbe230 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -21,7 +21,7 @@ export default defineConfig({ changeOrigin: true, }, '/bexapi': { - target: 'http://localhost:8003', + target: 'https://ai-workshop.digiwincloud.com.cn/bexell-backend', changeOrigin: true, rewrite: (p) => p.replace(/^\/bexapi/, '/api'), },