Chrome redirects .dev to https

前端 未结 7 1278
萌比男神i
萌比男神i 2020-11-27 06:40

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

chrome://net-interna

7条回答
  •  渐次进展
    2020-11-27 07:37

    This problem can't be fixed. Below is the reason:

    1. Google owns .dev gTLD
    2. Chrome forces HTTP to HTTPS on .dev domain directly within the source code.

    From the 2nd link below:

    ...
    // eTLDs
    // At the moment, this only includes Google-owned gTLDs,
    // but other gTLDs and eTLDs are welcome to preload if they are interested.
    { "name": "google", "include_subdomains": true, "mode": "force-https", "pins": "google" },
    { "name": "dev", "include_subdomains": true, "mode": "force-https" },
    { "name": "foo", "include_subdomains": true, "mode": "force-https" },
    { "name": "page", "include_subdomains": true, "mode": "force-https" },
    { "name": "app", "include_subdomains": true, "mode": "force-https" },
    { "name": "chrome", "include_subdomains": true, "mode": "force-https" },
    ...
    

    References

    • ICANN Wiki Google
    • Chromium Source - transport_security_state_static.json

提交回复
热议问题