Chrome 将 .dev 重定向到 https [英] Chrome redirects .dev to https

查看:68
本文介绍了Chrome 将 .dev 重定向到 https的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google Chrome 突然将我的虚拟主机域 myapplication.dev 重定向到 https://myapplication.dev.我已经尝试去

Suddenly Google Chrome redirects my virtual-host domain myapplication.dev to https://myapplication.dev. I already tried to go to

chrome://net-internals/#hsts

chrome://net-internals/#hsts

然后在最底部的删除域安全策略"的文本框中输入 myapplication.dev 但这没有任何效果.

And enter myapplication.dev into the textbox at the very bottom "Delete domain security policies" but this had no effect.

我也尝试删除浏览器数据.

I also tried to delete the browser data.

我还做的是将 v-host 更改为 .app 而不是 .dev 但 Chrome 仍然将我重定向到 https://...

What I also did is to change the v-host to .app instead of .dev but Chrome still redirected me to https:// ...

这是一个运行在 Laragon 上的 Laravel 应用程序.在同一网络中的其他 PC 上,它运行完美.

It's a Laravel application running on Laragon. On other PCs in the same network, it works perfectly.

推荐答案

没有办法阻止 Chrome (>= 63) 表单在 .dev 域名上使用 https.
Google 现在拥有官方 .dev tld,并且已经声明他们不会删除此功能.

There is no way to prevent Chrome (>= 63) form using https on .dev domain names.
Google now owns the official .dev tld and has already stated that they will not remove this functionality.

建议使用另一个用于开发目的的 tld,例如 .localhost.test.

The recommendation is to use another tld for development purposes, such as .localhost or .test.

有关此更新的更多信息可以在 中找到Mattias Geniar 撰写的这篇文章.

More information about this update can be found in this article by Mattias Geniar.

这篇关于Chrome 将 .dev 重定向到 https的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆