yes that is a good way to go. BUT! (haha always a "but"), if you have a lot of traffic and a load balancer, your load balancer will have x2 requests each time, one from the client (browser) to the render server, and one from the render server to the API server.
Which means, if you have 1Millions http requests, you end up with 2Millions request, and that may cost a lot and be quite slow as there are 2 hhtp request for only one page asked by the client.
A way to breaj that is to have both servers on the same machine and do the inner communication through direct IP instead of a dedicated domain name to reduce domain resolving.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.