spring cloud: zuul(二): zuul的serviceId/service-id配置(微网关)

zuul:
  routes:                                         #路由配置表示
    myroute1:                                  #路由名一
      path: /user/**                          #(针对微服务名称的)访问路径
      serviceId: spring-boot-user        #微服务名称 

  

开启微服务:

spring cloud: zuul(二): zuul的serviceId/service-id配置(微网关)

 

正常访问:

spring cloud: zuul(二): zuul的serviceId/service-id配置(微网关)

 

 

网关访问:

spring cloud: zuul(二): zuul的serviceId/service-id配置(微网关)

 

相关文章:

  • 2021-08-05
  • 2021-12-02
  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2022-01-15
  • 2021-05-24
猜你喜欢
  • 2021-10-13
  • 2021-11-25
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
  • 2021-09-23
  • 2021-09-06
相关资源
相似解决方案