In the case of our application, we are using the proxy design pattern for the Create User microservices and the News microservices. All we need to do is apply this pattern to our microservices and, in addition to creating microservices, we apply the proxy policy in our Nginx.
Let's observe the configuration we currently have in our application. As can be seen in the following configuration, we have two upstreams pointing to distinct microservices, as well as distinct locations, precisely to apply the upstream.
In this configuration, we are clearly using the dumb proxy approach, because the proxy does not perform any data modification or any other task that has minimal intelligence. Take a look at the following code: ...