IIS 实现 HTTP 到 HTTPS 的重定向

教程:

Name:随意起
Pattern:(.*)
Conditions:新增一个条件。Input 为 {HTTPS},Pattern 为 ^OFF$
Redirect URL:https://{HTTP_HOST}/{R:1}
Redirect type:Permanent (301)

https://www.hangge.com/blog/cache/detail_1885.html

需要为 IIS 安装 Url Rewrite 插件:

https://www.iis.net/downloads/microsoft/url-rewrite

posted @ 2020-02-21 16:45  不是豆豆  阅读(200)  评论(0编辑  收藏  举报
友情链接:迷途