<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.html" /> <add value="Default.htm" /> <add value="Default.asp" /> <add value="index.htm" /> <add value="iisstart.htm" /> <add value="default.aspx" /> </files> </defaultDocument> <rewrite> <rules> <rule name="route1" stopProcessing="true"> <match url="\/index\.html$" ignoreCase="true" /> <action type="None" /> </rule> <rule name="route2" stopProcessing="true"> <match url="." ignoreCase="true" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="\/index.html" /> </rule> </rules> </rewrite> </system.webServer> </configuration>