Using iis as a reverse proxy for SPAs

Using iis as a reverse proxy for pattern with for SPAs(Angular, React, Vue)

To use iis with single web page applications you should have a backend server(java, tomcat, nodejs, php) that normally have a link like api/something

<?xml version="1.0" encoding="UTF-8"?>
            	<!--Api rule redirect-->
            	<rule name="reverse proxy" preCondition="" stopProcessing="true">
                    <match filterByTags="None" pattern="^http(s)?://*)" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="true" />
                    <action type="Rewrite" value="http{R:1}://{R:2}" />
                <!--Other rules to get html content is your choice-->
            	<!--Other rules to configuration-->