The html(that contain js script) file is load into nginx container and in a http request from user the html page is forward to him.
When the user send a request for get the cheapst price for the product, will be send a http request to the app server on port 5000.
The app server answer directly to the user.
The html(that contain js script) file is load into nginx container and in a http request from user the html page is forward to him. When the user send a request for get the cheapst price for the product, will be send a http request to the app server on port 5000. The app server answer directly to the user.