Chrome中http被强转成https问题

原因:2023年11月1日,chrome发布HTTPS-Upgrades功能,在用户访问 http:// 的旧链接之后,会自动尝试跳转到通过加密的 https:// 协议,访问该网站。且探测到 https 服务存在也会自动改成 https。

亲测两种方案可行:

方案1:清除chrome的所有cookie

方案2:删除HSTS domain配置

1、输入地址:chrome://net-internals/#hsts

2、打开Delete domain security policies

3、输入域名删除

注意:我这里测试需要删除当前域名以及对应的顶级域名才有效

比如zhanglei.nasfuns.fun得同时删除zhanglei.nasfuns.fun、nasfuns.fun

相关推荐
漫漫求12 小时前
Ubuntu 绑定Conda
chrome·ubuntu·conda
浪剑超1 天前
https说明
网络协议·http·https
Elohim8151 天前
基于Webserver的数据采集
http·modbus tcp·webserver
will_net2 天前
Linux入门(十八)read&函数
linux·运维·chrome
睡不着先生2 天前
打造丝滑滚动体验:Scroll-driven Animations 正式上线!
css·chrome·html
容华谢后2 天前
Chromium内核浏览器编译记(五)Windows版本CEF编译
chrome·windows·浏览器
靡樊2 天前
应用层协议HTTP
网络·网络协议·http
vdoi2 天前
【Google Chrome】谷歌浏览器历史版本下载
前端·chrome
笨手笨脚の2 天前
Nginx-2 详解处理 Http 请求
运维·网络协议·nginx·http
magic 2452 天前
@RequestHeader(“Authorization“) 解析:HTTP 请求头中的 Authorization 字段
网络·网络协议·http