wiki:os:microsoft:iis-redirect-to-https
This is an old revision of the document!
IIS redirect HTTP to HTTPS
Install
URL Rewrite 2.0 module to your IIS8
Open IIS Manager, expand the Sites container and select the website you wish to configure the http redirection.
Once highlighted, doubleclick the
URL Rewrite option in the right hand pane. Select Add Rule and configure the following:
ADD new
Select: Blank Rule
Name: http to https
Match
URL – Requested
URL: Matches the Pattern
Match
URL – Using: Regular Expression
Pattern: (.*)
CONDITIONS
Action type: Redirect
Redirect
URL: https:\
{HTTP_HOST}/{R:1}
* Redirect type: See Other (303)
* Click Apply
* Requests to your site via HTTP should now be redirecting to HTTPS.
wiki/os/microsoft/iis-redirect-to-https.1516623959.txt.gz · Last modified: 2018/01/22 13:25 by root