web.config is used by IIS to start the PowerServer Web APIs (an ASP.NET Core application). It configures which ASP.NET Core application should be invoked and what is the hosting model for the application in the IIS server. It will be ignored when deployed to non-IIS servers.