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

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

问题描述

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


chrome:// net-internals /#hsts


然后输入myapplication.dev到最下面的删除域安全策略的文本框中,但是这没有效果。



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



我也做过的是将v-host更改为.deb ins .dev,但Chrome仍然将我重定向到https: // ...



这是在Laragon上运行的Laravel应用程序。
在同一网络中的其他电脑上,它完美无缺。 63)在 .dev 域名上使用https形式。

Google现在拥有官方 .dev tld,并且已经声明他们不会删除这个功能。



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



有关此更新的更多信息,请参见<这篇由Mattias Geniar撰写的文章。

>

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

chrome://net-internals/#hsts

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.

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

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

解决方案

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.

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

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

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

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