Monday, July 20, 2020

How do you stop Chome from always redirecting to https?



In the case of our company - it appears that it's related to a domain policy probably put in place by our IT Department.

One clue is the Network Traffic in chrome debugger: 307 Internal Redirect and the response header has: Non-Authoritative-Reason: HSTS

Try going to: chrome://net-internals/#hsts and if you have authority, deleting the policy for "localhost."

If you can't delete this, then I advice following the steps from this article which also worked for me: https://medium.com/@richardr39/using-angular-cli-to-serve-over-https-locally-70dab07417c8

references:
https://stackoverflow.com/questions/57417200/how-do-you-stop-chome-from-always-redirecting-to-https-not-desired

No comments:

Post a Comment