HATEOAS paths are invalid when using an API Gateway in a Spring Boot app

后端 未结 5 2064
时光说笑
时光说笑 2020-12-16 04:15

I have two spring boot applications where one of them is acting as an API Gateway (as discussed here Spring Example). The other which is wired into the first one is exposing

5条回答
  •  隐瞒了意图╮
    2020-12-16 04:40

    Zuul forwards to the /profiles contextPath.

    Try setting this as configuration:

    zuul:
      routes:
        profiles:
          path: /profiles/**
          url: http://localhost:8083/
    

提交回复
热议问题