chenhaozhe
2026-11-10 44cfd3ebcd8fc8cce27df9d0c66b12de92979b5c
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"
          }
        }
      }