admin管理员组文章数量:1538748
原因:谷歌浏览器的 .dev和.app域名问题
原文:
Chrome 63 now forces .dev domains to HTTPS
DECEMBER 07, 2017 / ERIC L. BARNES
Starting today, Google Chrome is rolling out v63 that now forces all .dev domains to use HTTPS. There is no workaround and they are apparently not changing this. Back in September Mattias Geniar wrote a post warning every one of the changes, and his post is a great primer on what the Chrome team has done.
This will affect everyone using .dev and if you are using Valet the recommended fix is to switch to a new unused extension like.test
. To change this in valet you can run the following:
valet domain test
Based on this article by Danny Wahl he recommends you use one of the following: “.localhost”, “.invalid”, “.test”, or “.example”.
If all this sounds like too much trouble another viable option is to switch to Firefox as your development browser. It’s fast, has comfortable dev tools, and has really made a ton of improvements over the past few years.
翻译:
由于今天 Chrome 升级了浏览器版本到 63,现在所有的 .dev 和 .app 都将会自动将 HTTP 转到 HTTPS上,原因是谷歌已经拿下了 .dev 的顶级域名;在9月份的报告中已经对 .dev 即将带来的问题进行了说明。目前唯一的方法就是修改你的 .dev 或者 .app 域名了,或者换成火狐浏览器开发;建议将你的域名改成 .test 或者 .localhost
即使在host文件中写了,域名地址对应信息,也会自动跳转到https://下访问
方法:就是修改你的 .dev 或者 .app 域名了,或者换成火狐浏览器开发;建议将你的域名改成 .test 或者 .localhost
版权声明:本文标题:谷歌浏览器针对http强制转换为https的问题 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1726983885a1093122.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论