Skip to content

Instantly share code, notes, and snippets.

@fedek6 fedek6/web.config
Created Jun 19, 2018

What would you like to do?
Force https on IIS
<?xml version="1.0" encoding="UTF-8"?>
<rule name="Force HTTPS" stopProcessing="true">
<match url="^(.*)$" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTPS}" pattern="^OFF$" />
<action type="Redirect" url="{R:1}" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.