Asp站点有2个域名,开启强制HTTPS只有1个生效
RT同1个站点绑定了 @ 顶级域名以及 www 域名
申请了证书过后,根据BT的提示,修改了配置
<rule name="http_toHttps" stopProcessing="true">
<match url="(.*)"/>
<conditions>
<add ignoreCase="true" input="{HTTPS}" pattern="off"/>
</conditions>
<action redirectType="Permanent" type="Redirect" url="https://{HTTP_HOST}/{R:1}"/>
</rule>
添加后,www的强制生效了,可@的还是默认http的,求科普
有没有大佬帮忙解答一下啊 官方没有技术人员解答吗?
页:
[1]