Google Chrome 突然将我的虚拟主机域 myapplication.dev 重定向到 myapplication.dev.我已经尝试去
Suddenly Google Chrome redirects my virtual-host domain myapplication.dev to 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 仍然将我重定向到 ...
What I also did is to change the v-host to .app instead of .dev but Chrome still redirected me to ...
这是一个运行在 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
发布评论