Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1.  
  2. <rule name="HTTP/S to HTTPS Redirect" enabled="true" stopProcessing="true">
  3. <match url="(.*)" />
  4. <conditions logicalGrouping="MatchAll">
  5. <add input="{SERVER_PORT_SECURE}" pattern="^0$" />
  6. <add input="{URL}" pattern="^/DefaultWorkflows" negate="true" />
  7. </conditions>
  8. <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
  9. </rule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement