如果没有找到你需要的问题,随时联系我们
|
在网站根目录下建立web.config 文件,文件内容如下 <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="http redirect to https" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="off" ignoreCase="true" /></conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" /> </rule> </rules> </rewrite> </system.webServer> </configuration> |
Copyright © 2026 All Rights Reserved
湘ICP备16022455号
湘公网安备43310002000112号
已安全稳定运营:
友情连接:idc公司大全 | 备案号查询 |