Reputation: 9509
I am using Laravel valet to host websites on my local machine for dev using the *.app domain. Whenever I try to visit URL's using Chrome they get redirect to the https version (which i do not want). How can I alter this behaviour for my local websites?
Upvotes: 0
Views: 4160
Reputation: 1485
It is not possible to prevent this behavior on Chrome, however it is possible for Firefox. You have no choice than having an alternative solution.
Via this article:
false
Upvotes: 0
Reputation: 17651
This seems to be the intended behavior since the Chrome 63 update took place. This blog talks about .dev but this is also happening to .app apparently.
tl;dr: Chrome 63 (out since December 2017), will force all domains ending on .dev (and .foo) to be redirected to HTTPS via a preloaded HTTP Strict Transport Security (HSTS) header.
This adds the following line to Chromium's preload lists;
{ "name": "dev", "include_subdomains": true, "mode": "force-https" }, { "name": "foo", "include_subdomains": true, "mode": "force-https" },
Upvotes: 0