I am trying to configure an Azure Application Gateway layer 7 load balancer between two PI Web API instances.
When making the request through the load balancer, the links returned in the request are pointing to the internal server IPs.
This makes sense when looking at the request received on the PWA servers:
X-ARR-SSL: ssl cert info
Accept: text/html, application/xhtml+xml, application/xml; q=0.9, image/webp, image/apng, */*; q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US, en; q=0.9
Authorization: Negotiate [Redacted]
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
Is it possible to override this behavior by having PWA return relative link URLs? Is it possible to specify the hostname PWA uses to generate the URLs?