Join us at Gartner SEC London and discover how LevelBlue can help you secure what’s next. Learn More
Access immediate incident response support, available 24/7
You can use the Microsoft IIS URL Rewrite 2.0 extension to redirect HTTP connections to HTTPS.
If you prefer to add the rule manually, the information shown above translates to the following lines at the end of the system.webserver section of web.config:
<rewrite> <rules> <rule name="HTTPS redirect" stopProcessing="true"> <match url="(.*)" ignoreCase="false" /> <conditions> <add input="{HTTPS}" pattern="off" ignoreCase="false" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Found" /> </rule> </rules></rewrite>
To contact LevelBlue about this article or to request support: