Spring cloud gateway MVC acts as a single entry point and a reverse proxy (Back end for front end pattern). When I invoke base url of Gateway, internally it redirect to NextJs webservice and redirects the response to browser keeping the same url of Gateway. But call never reached frontend webservice. I am using internal address url for frontend in Gateway. The call results into 502 Bad Gateway error.
In Local Docker compose and K8S, all works perfectly fine.
Any help will be appriciated.
Thanks