Chrome 将 .dev 重定向到 https

编程入门 行业动态 更新时间:2024-10-22 07:32:56
本文介绍了Chrome 将 .dev 重定向到 https的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

本文发布于:2023-07-06 07:34:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1047355.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:重定向   Chrome   dev   https

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!