0

I am using Spring Cloud ZUUL as gateway to all downstream services.

I now have a NodeJS based service which I also route using Spring Cloud ZUUL and Spring Cloud SideCar.

The NodeJS based service references some static content, images,css and also javascript.

When ZUUL is routing the request to NodeJS via the SideCar, I see the static content and javasript files are not been downloaded.

The url for them points to the host and port of ZUUL instance, instead of the host and port of the actual downstream service. So, it seems like I need to add some configuration to route to the static resources within the downstream app, in this case, NodeJS app or something similar.

Can someone help me with the right way to approach this issue.

Jbaur
  • 135
  • 2
  • 10
  • If Zuul is proxying all the content for the downstream services than I would say that this makes sense. Is it that the path to the static content is not correct so Zuul is not proxying the requests properly? – Ryan Baxter Mar 22 '17 at 13:39

1 Answers1

0

active blocking sensitive headers

 routes:
    node-service:
        sensitiveHeaders: Cookie,Set-Cookie
wthamira
  • 2,032
  • 2
  • 21
  • 40