Hi. In Our xCP application we have our JMS and web application nodes behind a firewall and only the load balancer is accessible from the internet.
Currently, the load balancer only connects to the web application nodes. Now we want to add the xCP Advanced Viewer widget to our app.
When previewing PDFs the xCP Advanced Viewer widget first requests some info at [/contents/{typeName}/{objectId}/view] mapped to the 'viewerViewController' in xCP.
The controller internally calls IDfSysObject.getAcsRequests() and returns the full ACS URLs as part of the JSON document.
Then the viewer widget requests the PDF payload at the received ACS URL and renders it.
We see that the ACS URLs always start with the host name of one of the JMS nodes and naturally are not accessible from the internet.
So how to properly circumvent this? Should we alter the ACS URL in the viewerViewController response when it goes via the load balancer?