Google Chrome .dev无法通过http工作 [英] Google Chrome .dev not work over http
问题描述
从上次更新谷歌浏览器63.0.3239.84 ,我的本地开发计算机的 .dev
域不再有效,因为浏览器强制网址通过https,我没有在我的本地机器上的sicure证书。有没有办法让它使用.dev?
我不想使用其他域名,如 .local
或 .test
我试图启用/禁用这个 chrome:// flags /#allow-insecure-localhost
但没有。
你不应该改变它。
自1999年以来,网络工作组(NWG)撰写了备忘录,列出用于开发的安全顶级域名(TLD)。
选择其中一个名单以获得面向未来的解决方案。
因为有些开发人员依赖于这些糟糕方法的工具 - 我就是其中之一 - 您可以使用黑客来解决这个问题:write badidea
当出现HSTS警告时。
仅将此作为临时解决方案,并专门为您的时间进行升级或帮助升级您的工具。
编辑:其他解决方案这里。
From last update of Google Chrome 63.0.3239.84 the .dev
domain of my local development machine does not work anymore becouse the browser force URL over https and I do not have a sicure certificate on my local machine. Is there a way to make it work with .dev?
I do not want to use other domains like .local
or .test
I tried to enable/disable this chrome://flags/#allow-insecure-localhost
but nothing.
You shouldn't change it.
Since 1999 that the Network Working Group(NWG) wrote a memorandum listing the safe Top Level Domains(TLDs) for development.
Choose one of that list to have a future-proof solution.
Because some developers depend on some tools with this poor approach - I was one of them - you can use a hack to solve this: write badidea
when the HSTS warning pops up.
Use this only as a temporary solution and dedicate your time upgrading, or helping upgrade, your tools.
EDIT: Other solutions here.
这篇关于Google Chrome .dev无法通过http工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!