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:
parent
94153058d8
commit
6109bf4584
|
|
@ -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 - 挖矿管理后台服务
|
||||
|
|
|
|||
Loading…
Reference in New Issue