修改 动态配置

This commit is contained in:
编码猿
2025-10-07 21:48:31 +08:00
parent 5fda36b268
commit 9432116a00

View File

@@ -1,7 +1,7 @@
http:
routers:
# 共享模块的 路由 拦截 配置
#
app-shared-router:
rule: Host(`nacos.ddd.com`) && PathPrefix(`/app-shared`)
service: app-shared-service
@@ -13,7 +13,6 @@ http:
entryPoints:
- web
# 商品模块的 路由 拦截 配置
app-product-router:
rule: Host(`nacos.ddd.com`) && PathPrefix(`/app-product`)
service: app-product-service
@@ -25,7 +24,7 @@ http:
entryPoints:
- web
# 使用域名访问前端 main-app 主模块
# 使用域名访问前端main-app
main-ddd-router:
rule: Host(`main.ddd.com`)
service: main-ddd-service
@@ -78,7 +77,9 @@ http:
app-shared-service:
loadBalancer:
servers:
- url: http://192.168.31.101:1333
- url: http://192.168.139.172:1333
- url: http://192.168.139.184:1333
- url: http://192.168.139.186:1333
app-product-service:
loadBalancer: