<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Redirect to https" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="^OFF$" /> <add input="{HTTPS_HOST}" pattern="^(sun.lcedu.net.cn)" negate="true" /> <add input="{HTTPS_HOST}" pattern="^(sun1.lcedu.net.cn)" negate="true" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
http重定向到https
免责声明:文章转载自《http重定向到https》仅用于学习参考。如对内容有疑问,请及时联系本站处理。
上篇dedeCMS自定义dede标签【技术帖】真正解决反恐精英csOL:StartService 0X204 为防御非法程序driver下篇
宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=