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:
parent
c45da1ff0a
commit
0521c99c2e
16
Teknik/web.config
Normal file
16
Teknik/web.config
Normal 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>
|
Loading…
Reference in New Issue
Block a user