akka.net/docs/web.config

18 строки
699 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".json" mimeType="application/json" />
<mimeMap fileExtension=".yml" mimeType="text/yaml" />
<mimeMap fileExtension=".yaml" mimeType="text/yaml" />
</staticContent>
<rewrite>
<rules>
<rule name="rewrite docs to articles" stopProcessing="true">
<match url="docs(.*)" />
<action type="Redirect" url="http://{HTTP_HOST}/articles{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>