chrome firefox 如何设置某个域名不强制 https 访问?

310 天前
 jaleo
家里公网 ip 绑定了域名 用于访问 openwrt
http://domain.com:port 形式,新版的 chrome ( 113 以上)访问会用 https ,无法连接,用了网上的教程,chrome://net-internals/#hsts 删除域名不起作用。
哪位有解决办法的指点下。
1483 次点击
所在节点    问与答
14 条回复
caqiko
310 天前
cloudflare 域名解析添加一个重定向规则? https 重定向到 http ,chrome 不知道能不能行,前两周在 edge 上是可行的
jaleo
310 天前
@caqiko 我的域名在阿里云上 好像找不到 https 重定向的功能
krixaar
310 天前
刚刚用 Chrome 114 上了下 http 的煎蛋网没有自动跳转,你确定是浏览器的问题吗
ugpass
310 天前
chrome://flags ,搜索 Insecure origins treated as secure ,填上访问地址试试呢
cat
310 天前
Chrome 114 ,可以访问 http://,公司一堆内网系统都是 http:// 的
注意要手动输入包括 http:// 部分,如果你只输入 domain:port 默认就是会补上 https://
296727
310 天前
https://blog.csdn.net/Dare_Huang/article/details/114008895 试试这个?我是 114 版本,一直都可以 http
everyx
310 天前
有可能是之前有过重定向被缓存了,使用隐私模式,输入完整的带 http:// 的 URL 再试试
shuimitao
310 天前
弄个证书就好了呀
lisxour
310 天前
这哪里归浏览器管啊,只要你手动输入 http ,浏览器怎么可能自动变 https ,自动变 https 只是那种不自己输入协议的情况,比如直接输入“www.baidu.com”,如果你输了 http ,还是变成了 https ,那是服务器的强制 https 给你跳转了。
mxT52CRuqR6o5
310 天前
配置了 hsts 浏览器就会自动重定向到 https 啊,怎么就不归浏览器管了
Stlin
310 天前
啊?我怎么没有强制 https ?也是域名加端口,系统版本:macOS M2 chrome 版本:114.0.5735.198 (正式版本) (arm64)
yh7gdiaYW
310 天前
114 版本表示没有强制跳转,看了下文档:
An HSTS enabled server can include the following header in an HTTPS reply:
Strict-Transport-Security: max-age=16070400; includeSubDomains
When the browser sees this, it will remember, for the given number of seconds, that the current domain should only be contacted over HTTPS.
In the future, if the user types http:// or omits the scheme, HTTPS is the default. In fact, all requests for URLs in the current domain will be redirected to HTTPS
所以是楼主的服务端的配置问题
brader
310 天前
我的最新版 chrome ,不会强制跳啊,能访问 http ,除非像我自己的有个域名,服务端 nginx 主动做了 http 重定向 302 到 https
jujusama
310 天前
Chrome 不会强制 https ,检查下是否是扩展插件导致的,如: https anywhere ,duckduckgo

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/954162

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX