Forward HTTP traffic to HTTPS
This commit is contained in:
Родитель
f178ffbcce
Коммит
63be74fa18
|
@ -33,6 +33,15 @@
|
|||
</conditions>
|
||||
<action type="Rewrite" url="dist/www.js"/>
|
||||
</rule>
|
||||
|
||||
<!-- Redirect HTTP traffic to HTTPS -->
|
||||
<rule name="Redirect HTTP to HTTPS">
|
||||
<match url="(.*)" />
|
||||
<conditions>
|
||||
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
|
||||
</conditions>
|
||||
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent"/>
|
||||
</rule>
|
||||
</rules>
|
||||
</rewrite>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче