1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

Added www redirect to project

This commit is contained in:
Uncled1023 2021-12-06 19:58:39 -08:00
parent c45da1ff0a
commit 0521c99c2e

16
Teknik/web.config Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Redirect to WWW" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTP_HOST}" pattern="^teknik.io$" />
</conditions>
<action type="Redirect" url="https://www.teknik.io/{R:0}" redirectType="Temporary" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>