Firefox redirects to https

后端 未结 10 588
自闭症患者
自闭症患者 2020-12-07 13:43

I\'m using Firefox, and while setting up a server, I have been fiddling around with redirects. Now, Firefox has cached a 301 redirect from http://example.com/ to https://exa

10条回答
  •  醉话见心
    2020-12-07 14:10

    I had the same problem but the answer was that I used a .dev extension to access my local websites !

    I cleared all historic data in FF and nothing changed.

    Searching for another solution, I found this page https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/

    With .dev being an official gTLD, we're most likely better of changing our preferred local development suffix from .dev to something else. If you're looking for a quick "search and replace" alternative for existing setups, consider the .test gTLD, which is a reserved name by IETF for testing (or development) purposes.

    I changed my local website extensions from .dev to .test and all work perfectly !

提交回复
热议问题