利用IIS重定向模块自动跳转至https
一、选中站点,打开URL重写模块,添加规则

二、参考下图编辑入站规则
- (.*)
- https://{HTTP_HOST}/{R:1}

参考页面:
https://learn.microsoft.com/en-us/archive/blogs/griffey/iis-url-rewrite-http-https-reverse-proxy
版权木有,侵权不究,欢迎转载


参考页面:
https://learn.microsoft.com/en-us/archive/blogs/griffey/iis-url-rewrite-http-https-reverse-proxy