Fixed xml syntax error in web.config
This commit is contained in:
parent
4abcbb87d1
commit
7741ebb463
17
web.config
17
web.config
@ -1,17 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<system.webServer>
|
<system.webServer>
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<rewrite>
|
<rewrite>
|
||||||
<rules>
|
<rules>
|
||||||
<rule name="Redirect to HTTPS" stopProcessing="false">
|
<rule name="Redirect to HTTPS" stopProcessing="false">
|
||||||
<match url="(.*)" />
|
<match url="(.*)" />
|
||||||
<conditions>
|
<conditions>
|
||||||
<add input="{HTTPS}" pattern="^OFF$" />
|
<add input="{HTTPS}" pattern="^OFF$" />
|
||||||
</conditions>
|
</conditions>
|
||||||
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" />
|
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" />
|
||||||
</rule>
|
</rule>
|
||||||
</rules>
|
</rules>
|
||||||
</rewrite>
|
</rewrite>
|
||||||
<defaultDocument>
|
<defaultDocument>
|
||||||
<files>
|
<files>
|
||||||
|
Loading…
Reference in New Issue
Block a user