title: Spring Cloud Gateway and NGINX
body: <p>Do I still need NGINX to serve static content like JS etc and reverse proxy request to backend, or it can be done with just Spring Cloud Gateway? 
  Spring docs has a following image: </p>
  
  <p><a href="https://i.stack.imgur.com/sTIwT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sTIwT.png" alt=""></a></p>
  
  <p>And I found no description there on how to return static content to the client, does it mean it's considered bad practice and I need extra step of reverse proxying adding its latency?
  If not, where can I find more info on how to do that with Spring Cloud Gateway, especially if I'm going to make oauth2 authorization-code flow authentication using Spring Gateway?</p>