Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <rule name="HTTP/S to HTTPS Redirect" enabled="true" stopProcessing="true">
- <match url="(.*)" />
- <conditions logicalGrouping="MatchAll">
- <add input="{SERVER_PORT_SECURE}" pattern="^0$" />
- <add input="{URL}" pattern="^/DefaultWorkflows" negate="true" />
- </conditions>
- <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
- </rule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement