From e8e5bda49946c89411f2231c2466c10597a7c7fc Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期三, 11 十一月 2026 09:40:37 +0800
Subject: [PATCH] 1
---
appsettings.json | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/appsettings.json b/appsettings.json
index 6e9de47..a13e719 100644
--- a/appsettings.json
+++ b/appsettings.json
@@ -6,15 +6,26 @@
}
},
"AllowedHosts": "*",
+ "Gateway": {
+ "FileFilter": {
+ "Enabled": true,
+ "BlockedExtensions": [ ".dll", ".log" ]
+ },
+ "ErrorPage": {
+ "Enabled": true,
+ "LogPageEnabled": true,
+ "LogPageDirectory": "PageLogs"
+ }
+ },
"ReverseProxy": {
"Routes": {
"mes-backend": {
"ClusterId": "mes-backend",
"Match": {
- "Path": "/API_NW/{**catch-all}"
+ "Path": "/API/{**catch-all}"
},
"Transforms": [
- { "PathRemovePrefix": "/API_NW" }
+ //{ "PathRemovePrefix": "/API" }
]
}
},
@@ -22,7 +33,7 @@
"mes-backend": {
"Destinations": {
"backend": {
- "Address": "http://localhost:8090"
+ "Address": "http://localhost:81"
}
}
}
--
Gitblit v1.9.1