ASP.NET
0
Вклад в тег
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="wwwroot/index.html" />
</files>
</defaultDocument>
<rewrite>
<rules>
<rule name="Static Files" stopProcessing="true">
<match url="^(.*)\.(html|js|css|jpeg|jpg|gif|png)$" />
<action type="Rewrite" url="/wwwroot/{R:1}.{R:2}" appendQueryString="true" redirectType="Found" />
</rule>
</rules>
</rewrite>