更新bexapi 地址
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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'),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user