1
chenhaozhe
2026-11-11 e8e5bda49946c89411f2231c2466c10597a7c7fc
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"
          }
        }
      }