fix(kong): remove ws/wss protocols from WebSocket route

Kong 会自动处理 HTTP -> WebSocket 升级,route protocols 只需要 http/https

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-18 21:36:30 -08:00
parent 94153058d8
commit 6109bf4584
1 changed files with 1 additions and 2 deletions

View File

@ -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 - 挖矿管理后台服务