chrome浏览器总是将http请求强制转换成https请求,禁用方法
打开
chrome://net-internals/#hsts
中
Delete domain security policies
输入该站点,将将该站点删除一下就OK。
其他浏览器:
地址栏中输入chrome://net-internals/#hsts
在Delete domain security policies中输入项目的域名,并Delete删除
可以在Query domain测试是否删除成功
这里如果还是不行, 请清除浏览器缓存!
部分转载自:https://www.jianshu.com/p/83c832bb787a