<?xml version="1.0" encoding="UTF-8"?>
<rule name="HTTP to HTTPS redirect" stopProcessing="true">
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTPS}" pattern="off" />
<action type="Redirect" url="https://{HTTP_HOST}/{R:0}" redirectType="Permanent" />
<rule name="Rerwite" stopProcessing="true">
<conditions logicalGrouping="MatchAny" trackAllCaptures="false">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<action type="Rewrite" url="http://localhost:5212/{R:0}" />
<requestFiltering allowDoubleEscaping="true">
<requestLimits maxAllowedContentLength="60000000" />