mirror of
https://github.com/mm201/pkmn-classic-framework.git
synced 2026-08-01 23:53:39 -05:00
23 lines
748 B
XML
23 lines
748 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
|
<system.web>
|
|
<compilation xdt:Transform="RemoveAttributes(debug)" />
|
|
</system.web>
|
|
|
|
<system.webServer>
|
|
<rewrite xdt:Transform="Insert">
|
|
<rules>
|
|
<rule name="Host and HTTPS redirect" stopProcessing="true">
|
|
<match url="(.*)" />
|
|
<conditions logicalGrouping="MatchAny">
|
|
<add input="{HTTP_HOST}" pattern="^pkmnclassic\.net$" negate="true" />
|
|
<add input="{HTTPS}" pattern="OFF" />
|
|
</conditions>
|
|
<action type="Redirect" url="https://pkmnclassic.net/{R:1}" />
|
|
</rule>
|
|
</rules>
|
|
</rewrite>
|
|
</system.webServer>
|
|
</configuration>
|