1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| spring: application: name: gateway cloud: gateway: enabled: true discovery: locator: enabled: true lower-case-service-id: true routes: - id: provider uri: lb://nacos-provider predicates: - Path=/provider/** filters: - StripPrefix=1 - id: consumer uri: lb://nacos-consumer predicates: - Path=/consumer/** filters: - StripPrefix=1
|