搞什么配置文件嘛
<script type="text/javascript"> | |
var targetProtocol = "https:"; | |
if (window.location.protocol != targetProtocol) | |
window.location.href = targetProtocol + | |
window.location.href.substring(window.location.protocol.length); | |
</script> |
完美解决
https跳http反之
然而最后还是用了301重定向
COMMENTS | NOTHING