Modifying the Web API URL

You must modify the Web API URL to point to the IIS reverse proxy server.

Step 1: Go to the [appname] folder (for example, "salesdemo_cloud") on the web server and open the apprun.json file in a text editor.

The web server and the IIS reverse proxy server can reside in the same or different machine. If the web server is an IIS HTTP server, it can be the same or different server instance with the IIS reverse proxy server.

Step 2: Set the value of Web API URL to the URL of the IIS reverse proxy server, for example, https://172.16.100.81:8080. It is highly recommended that you specify an HTTPS URL for the production environment.

All requests for the PowerServer Web APIs will be first made to https://172.16.100.81:8080 and then redirected by the IIS reverse proxy server to the PowerServer Web APIs running on the Kestrel server (for example, https://172.16.100.35:6000).