Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #123 from AppliedIS/feature-forcessl
Browse files Browse the repository at this point in the history
force https on web project
  • Loading branch information
klinden committed Nov 9, 2016
2 parents ed5f22f + 650dd66 commit 1ef52ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions DOL.WHD.Section14c.Web/src/deploy/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
</staticContent>
<rewrite>
<rules>
<rule name="Redirect to https" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
</rule>
<rule name="Main Rule" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
Expand Down

0 comments on commit 1ef52ba

Please sign in to comment.