Jul 7th, 2018 - written by Kimserey with .
This post shows how to fix an annoying automatic redirect issue in localhost.
http://localhost
to https://localhost
http://localhost
is accessiblehttp://localhost
One of my test project was configuring SSL on nginx.
The configuration was redirecting localhost
to https
for testing purposes and Chrome had since then cached the redirection.
Subsequent calls were no longer hitting nginx as they were only hitting Chrome cache.
Web Developer Console
on Chrome, CTRL+SHIFT+I
Empty Cache And Hard Reload
This will remove all cached items including the redirection. http://localhost
will no longer be redirected by Chrome.