diff --git a/backend/api-gateway/kong.yml b/backend/api-gateway/kong.yml index 4b3246b7..ddc36404 100644 --- a/backend/api-gateway/kong.yml +++ b/backend/api-gateway/kong.yml @@ -326,6 +326,7 @@ services: # --------------------------------------------------------------------------- # Trading Service WebSocket - 价格实时推送 # WebSocket 连接: wss://api.xxx.com/ws/price -> ws://192.168.1.111:3022/price + # Kong 会自动处理 HTTP -> WebSocket 升级,所以 protocols 只需要 http/https # --------------------------------------------------------------------------- - name: trading-ws-service url: http://192.168.1.111:3022 @@ -337,8 +338,6 @@ services: protocols: - http - https - - ws - - wss # --------------------------------------------------------------------------- # Mining Admin Service 2.0 - 挖矿管理后台服务