fix(kong): 修复mining-admin-service路由映射
使用strip_path:true并将url设为/api/v1, 使Kong路由 /api/v2/mining-admin/* -> 服务 /api/v1/* Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
341e319fd3
commit
fe7dda396f
|
|
@ -324,16 +324,16 @@ services:
|
|||
# Mining Admin Service 2.0 - 挖矿管理后台服务
|
||||
# ---------------------------------------------------------------------------
|
||||
- name: mining-admin-service
|
||||
url: http://192.168.1.111:3023
|
||||
url: http://192.168.1.111:3023/api/v1
|
||||
routes:
|
||||
- name: mining-admin-api
|
||||
paths:
|
||||
- /api/v2/mining-admin
|
||||
strip_path: false
|
||||
strip_path: true
|
||||
- name: mining-admin-health
|
||||
paths:
|
||||
- /api/v2/mining-admin/health
|
||||
strip_path: false
|
||||
strip_path: true
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Auth Service 2.0 - 用户认证服务
|
||||
|
|
|
|||
Loading…
Reference in New Issue