Fixed xml syntax error in web.config

This commit is contained in:
Ethan N. Paul 2017-02-10 23:18:02 -05:00
parent 4abcbb87d1
commit 7741ebb463
1 changed files with 8 additions and 9 deletions

View File

@ -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>