diff --git a/backend/api-gateway/kong.yml b/backend/api-gateway/kong.yml index f72a41f0..c6e09cca 100644 --- a/backend/api-gateway/kong.yml +++ b/backend/api-gateway/kong.yml @@ -277,18 +277,20 @@ services: # --------------------------------------------------------------------------- # Contribution Service 2.0 - 算力服务 + # 前端路径: /api/v2/contribution/... + # 后端路径: /api/v2/contribution/... (strip_path: false, 直接透传) # --------------------------------------------------------------------------- - name: contribution-service-v2 - url: http://192.168.1.111:3020/api/v2/contributions + url: http://192.168.1.111:3020 routes: - name: contribution-v2-api paths: - /api/v2/contribution - strip_path: true + strip_path: false - name: contribution-v2-health paths: - /api/v2/contribution/health - strip_path: true + strip_path: false # --------------------------------------------------------------------------- # Mining Service 2.0 - 挖矿服务